Converted tabs introduced in 77910 to spaces - not because I like them that way,...
authorTrevor Parscal <tparscal@users.mediawiki.org>
Wed, 8 Dec 2010 19:13:32 +0000 (19:13 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Wed, 8 Dec 2010 19:13:32 +0000 (19:13 +0000)
resources/jquery.tipsy/jquery.tipsy.js

index 847a527..7c80873 100644 (file)
                 
                 if (gravity.length == 2) {
                     if (gravity.charAt(1) == 'w') {
-                       if ( this.options.center ) {
-                               tp.left = pos.left + pos.width / 2 - 15;
-                       } else {
+                        if (this.options.center) {
+                            tp.left = pos.left + pos.width / 2 - 15;
+                        } else {
                             tp.left = pos.left;
-                       }
+                        }
                     } else {
-                       if ( this.options.center ) {
-                               tp.left = pos.left + pos.width / 2 - actualWidth + 15;
-                       } else {
-                               tp.left = pos.left + pos.width;
-                       }
+                        if (this.options.center) {
+                            tp.left = pos.left + pos.width / 2 - actualWidth + 15;
+                        } else {
+                            tp.left = pos.left + pos.width;
+                        }
                     }
                 }