From: Trevor Parscal Date: Wed, 8 Dec 2010 19:13:32 +0000 (+0000) Subject: Converted tabs introduced in 77910 to spaces - not because I like them that way,... X-Git-Tag: 1.31.0-rc.0~33440 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=8f34ae4433368b23ce47444766c456bfc8eb7cb6;p=lhc%2Fweb%2Fwiklou.git Converted tabs introduced in 77910 to spaces - not because I like them that way, but because it's an external library and we are keeping it consistent. --- diff --git a/resources/jquery.tipsy/jquery.tipsy.js b/resources/jquery.tipsy/jquery.tipsy.js index 847a527bec..7c80873434 100644 --- a/resources/jquery.tipsy/jquery.tipsy.js +++ b/resources/jquery.tipsy/jquery.tipsy.js @@ -56,17 +56,17 @@ 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; + } } }