Browse Source

Fix - pass tab id when injecting files to it

simov 7 years ago
parent
commit
7011c10a9d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      background/detect.js

+ 1 - 1
background/detect.js

@@ -39,7 +39,7 @@ md.detect = ({storage: {state}, inject}) => {
             chrome.tabs.reload(id)
           }
           else {
-            inject()
+            inject(id)
           }
         }
       })