aboutsummaryrefslogtreecommitdiff
path: root/main_background.js
diff options
context:
space:
mode:
Diffstat (limited to 'main_background.js')
-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];
});