summaryrefslogtreecommitdiff
path: root/resources/jquery.tipsy/jquery.tipsy.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/jquery.tipsy/jquery.tipsy.js')
-rw-r--r--resources/jquery.tipsy/jquery.tipsy.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/resources/jquery.tipsy/jquery.tipsy.js b/resources/jquery.tipsy/jquery.tipsy.js
index 847a527b..7c808734 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;
+ }
}
}