Index: chrome/ext/popup.js |
diff --git a/chrome/ext/popup.js b/chrome/ext/popup.js |
index f5132aa457a4366129078917064aefc9092ebc42..24e2161d22ce4585967708e1299c7af92aef12f7 100644 |
--- a/chrome/ext/popup.js |
+++ b/chrome/ext/popup.js |
@@ -1,8 +1,10 @@ |
"use strict"; |
+let ext; |
+ |
{ |
const backgroundPage = chrome.extension.getBackgroundPage(); |
- var ext = Object.create(backgroundPage.ext); |
+ ext = Object.create(backgroundPage); |
ext.closePopup = () => |
{ |