Explorar el Código

added onError method

Gildas hace 6 años
padre
commit
82c782b8fd
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      extension/ui/bg/bg-ui.js

+ 3 - 0
extension/ui/bg/bg-ui.js

@@ -36,6 +36,9 @@ singlefile.ui = (() => {
 		onProgress(tabId, index, maxIndex, options) {
 			singlefile.ui.button.onProgress(tabId, index, maxIndex, options);
 		},
+		onError(tabId, options) {
+			singlefile.ui.button.onError(tabId, options);
+		},
 		onEnd(tabId, options) {
 			singlefile.ui.button.onEnd(tabId, options);
 		},