[Pkg-mozext-commits] [greasemonkey] 06/55: restore unique element filter on scripts dropdown menu
David Prévot
taffit at moszumanska.debian.org
Thu Oct 29 15:38:01 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 d0aea265cb816461c90965deee04c6795c36f1f0
Author: The8472 <git at infinite-source.de>
Date: Sun Sep 13 23:50:39 2015 +0200
restore unique element filter on scripts dropdown menu
fixes duplicates introduced by 6b05c48
---
content/browser.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/content/browser.js b/content/browser.js
index 13f5385..9402adf 100644
--- a/content/browser.js
+++ b/content/browser.js
@@ -344,6 +344,7 @@ function asyncShowPopup(aEvent, urls) {
removeMenuitemsAfter(scriptsFramedEl);
removeMenuitemsAfter(scriptsTopEl);
+ urls = uniq(urls);
var runsOnTop = scriptsMatching( [urls.shift()] ); // first url = top window
var runsFramed = scriptsMatching( urls ); // remainder are all its subframes
--
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