diff options
author | portix <none@none> | 2012-09-25 11:28:42 +0200 |
---|---|---|
committer | portix <none@none> | 2012-09-25 11:28:42 +0200 |
commit | 3766f55ac54b228782f82e981416cc06f9b30bb8 (patch) | |
tree | 59a9556d6e3c24176f7525747bc6ed4bde772340 /extensions/userscripts | |
parent | f0a3b9d7f5c3ed6cfc067ae7da8c35af334a7b47 (diff) | |
download | dwb-3766f55ac54b228782f82e981416cc06f9b30bb8.zip |
Optional argument for inject function
Diffstat (limited to 'extensions/userscripts')
-rw-r--r-- | extensions/userscripts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/userscripts b/extensions/userscripts index a332880e..223dedd0 100644 --- a/extensions/userscripts +++ b/extensions/userscripts @@ -217,12 +217,12 @@ function matchMatches(frame, items) //{{{ function doInject(frame, item) { if (item.delay > 0) { timerStart(item.delay, function() { - frame.inject(item.script, item.unwrap); + frame.inject(item.script, null, item.unwrap); return false; }); } else { - frame.inject(item.script, item.unwrap); + frame.inject(item.script, null, item.unwrap); } } |