[Pkg-mozext-commits] [itsalltext] 92/459: Fixed lints.

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository itsalltext.

commit bbe16a96934632e49098a6a2c4dcf99d5d351877
Author: Christian Höltje <docwhat at gerf.org>
Date:   Wed Jan 31 21:25:33 2007 -0500

    Fixed lints.
---
 chrome/content/itsalltext.js | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/chrome/content/itsalltext.js b/chrome/content/itsalltext.js
index 953eb3a..f63f766 100644
--- a/chrome/content/itsalltext.js
+++ b/chrome/content/itsalltext.js
@@ -517,11 +517,11 @@ function ItsAllTextOverlay() {
      */
     self.adjust = function() {
       var gumdrop  = self.button;
-      var node     = self.node;
+      var el       = self.node;
       var style    = gumdrop.style;
-      if (!gumdrop || !node) { return; }
+      if (!gumdrop || !el) { return; }
       var display  = '';
-      if (node.style.display == 'none') {
+      if (el.style.display == 'none') {
         display = 'none';
       }
       if (style.display != display) {
@@ -529,9 +529,9 @@ function ItsAllTextOverlay() {
       }
       if (!style.left || !style.top ||
           style.left == '0px' || style.top == '0px') {
-        var pos = that.getPageOffset(node);
-        gumdrop.style.left = (pos[0]+Math.max(1,node.offsetWidth-gumdrop_width))+'px';
-        gumdrop.style.top  = (pos[1]+node.offsetHeight)+'px';
+        var pos = that.getPageOffset(el);
+        gumdrop.style.left = (pos[0]+Math.max(1,el.offsetWidth-gumdrop_width))+'px';
+        gumdrop.style.top  = (pos[1]+el.offsetHeight)+'px';
       }
     };
 
@@ -542,7 +542,7 @@ function ItsAllTextOverlay() {
     self.mouseout = function(event) {
       var style = self.button.style;
       style.opacity = '0.1';
-    }
+    };
   }
 
   // @todo [med] Profiling and optimization.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git



More information about the Pkg-mozext-commits mailing list