aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhackademix <giorgio@maone.net>2018-07-31 23:07:09 +0200
committerhackademix <giorgio@maone.net>2018-07-31 23:07:09 +0200
commit13ea9430ff74174b0e1043119e4d855259b62a30 (patch)
treee222bce6005f8fe903bf283f14cfaf624af8c51e
parenta970659c31ae801079075608777c73f7741224bc (diff)
Fixed badge shouldn't be shown on privileged pages.
-rw-r--r--main_background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_background.js b/main_background.js
index 85cadaa..b02c639 100644
--- a/main_background.js
+++ b/main_background.js
@@ -1011,7 +1011,7 @@ function edit_html(html,url,tabid,wl){
// "i" is an index in html_doc.all
// "j" is an index in intrinsic_events
function edit_event(src,i,j,name){
- var edited = get_script(src,name);
+ var edited = get_script(src, name, tabid);
edited.then(function(){
html_doc.all[i].attributes[intrinsic_events[j]].value = edited[0];
});