Explorar el Código

always try to refresh teh button

Gildas hace 7 años
padre
commit
5922456f81
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      extension/ui/bg/ui-button.js

+ 1 - 1
extension/ui/bg/ui-button.js

@@ -196,10 +196,10 @@ singlefile.ui.button = (() => {
 		}
 		try {
 			await tabData.pendingRefresh;
-			tabData.pendingRefresh = refreshAsync(tabId, tabData, oldTabData);
 		} catch (error) {
 			/* ignored */
 		}
+		tabData.pendingRefresh = refreshAsync(tabId, tabData, oldTabData);
 	}
 
 	async function refreshAsync(tabId, tabData, oldTabData) {