[Pkg-mozext-commits] [greasemonkey] 03/62: Only check for enabled-ness once.
David Prévot
taffit at moszumanska.debian.org
Sun Sep 13 22:10:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository greasemonkey.
commit 60f0257188bcd4fac4c3d3b8e2606d426c34f861
Author: Anthony Lieuallen <arantius at gmail.com>
Date: Fri Jul 31 13:08:09 2015 -0400
Only check for enabled-ness once.
---
content/framescript.js | 2 --
1 file changed, 2 deletions(-)
diff --git a/content/framescript.js b/content/framescript.js
index a514964..807a8bf 100644
--- a/content/framescript.js
+++ b/content/framescript.js
@@ -30,8 +30,6 @@ var contentObserver = {
switch (aTopic) {
case 'document-element-inserted':
- if (!GM_util.getEnabled()) return;
-
var doc = aSubject;
var win = doc && doc.defaultView;
if (!doc || !win) return;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git
More information about the Pkg-mozext-commits
mailing list