[Pkg-mozext-commits] [nosquint] 42/47: Fix "undeclared variable full" warning on scroll-zoom
David Prévot
taffit at moszumanska.debian.org
Tue Apr 28 01:41:20 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 dfd74bed327a4eadb79a905f46b52fdf1731b83a
Author: Jason Tackaberry <tack at urandom.ca>
Date: Mon Jan 30 19:55:04 2012 -0500
Fix "undeclared variable full" warning on scroll-zoom
---
src/content/browser.js | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/content/browser.js b/src/content/browser.js
index 4498901..6abbad0 100644
--- a/src/content/browser.js
+++ b/src/content/browser.js
@@ -184,10 +184,11 @@ NoSquint.browser = NoSquint.ns(function() { with (NoSquint) {
if (!event.ctrlKey)
return;
if (NSQ.prefs.wheelZoomEnabled) {
- var browser = gBrowser.selectedBrowser;
- var text = full = false;
- var increment = NSQ.prefs.zoomIncrement * (event.detail < 0 ? 1 : -1);
- var img = isImage(browser);
+ var browser, text, full, increment, img;
+ browser = gBrowser.selectedBrowser;
+ text = full = false;
+ increment = NSQ.prefs.zoomIncrement * (event.detail < 0 ? 1 : -1);
+ img = isImage(browser);
if (NSQ.prefs.wheelZoomInvert)
increment *= -1;
--
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