Skip to content

Commit

Permalink
More comprehensive updateModifiedScripts() for document-idle.
Browse files Browse the repository at this point in the history
Refs #2109
  • Loading branch information
arantius committed Nov 3, 2015
1 parent 5fcfc46 commit 18f06d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/greasemonkey.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ service.prototype.scriptRefresh = function(url, windowId, browser) {
if (GM_prefRoot.getValue('enableScriptRefreshing')) {
this.config.updateModifiedScripts("document-start", url, windowId, browser);
this.config.updateModifiedScripts("document-end", url, windowId, browser);
this.config.updateModifiedScripts("document-idle", url, windowId, browser);
}
};

Expand Down
1 change: 1 addition & 0 deletions content/addons4-overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ function focus() {
var config = GM_util.getService().config;
config.updateModifiedScripts('document-start', null);
config.updateModifiedScripts('document-end', null);
config.updateModifiedScripts('document-idle', null);
}

function init() {
Expand Down

0 comments on commit 18f06d9

Please sign in to comment.