Jelajahi Sumber

added missing globals

Gildas 7 tahun lalu
induk
melakukan
8aaa2a8965
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 1 1
      extension/ui/content/content-ui.js
  2. 1 1
      extension/ui/content/infobar.js

+ 1 - 1
extension/ui/content/content-ui.js

@@ -18,7 +18,7 @@
  *   along with SingleFile.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-/* global document, getComputedStyle, addEventListener, removeEventListener, requestAnimationFrame, scrollX, scrollY */
+/* global document, getComputedStyle, addEventListener, removeEventListener, requestAnimationFrame, scrollX, scrollY, setTimeout */
 
 this.singlefile.ui = this.singlefile.ui || (() => {
 

+ 1 - 1
extension/ui/content/infobar.js

@@ -18,7 +18,7 @@
  *   along with SingleFile.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-/* global browser, document, Node, window, top, getComputedStyle, location */
+/* global browser, document, Node, window, top, getComputedStyle, location, setTimeout */
 
 this.singlefile.infobar = this.singlefile.infobar || (() => {