[Pkg-mozext-commits] [nosquint] 34/47: Properly hide the Zoom Text only menuitem
David Prévot
taffit at moszumanska.debian.org
Tue Apr 28 01:41:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 2.1.6
in repository nosquint.
commit 01175a7822fceb028922d90fc20b34911ff81c26
Author: Jason Tackaberry <tack at urandom.ca>
Date: Wed Jan 25 20:02:03 2012 -0500
Properly hide the Zoom Text only menuitem
This became a regression somewhere along the Firefox release treadmill.
---
src/content/browser.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/content/browser.js b/src/content/browser.js
index e112b96..7a6b1f1 100644
--- a/src/content/browser.js
+++ b/src/content/browser.js
@@ -238,7 +238,7 @@ NoSquint.browser = NoSquint.ns(function() { with (NoSquint) {
if (!$('nosquint-view-menu-settings')) {
for (let [i, child] in enumerate(popup.childNodes)) {
if (child.id == 'toggle_zoom')
- child.style.display = 'none';
+ child.hidden = true;
if (child.nodeName != 'menuitem' || (child.command != 'cmd_fullZoomEnlarge' &&
child.command != 'cmd_fullZoomReduce'))
continue;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/nosquint.git
More information about the Pkg-mozext-commits
mailing list