Răsfoiți Sursa

added onError method

Gildas 6 ani în urmă
părinte
comite
82c782b8fd
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  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);
 		},