summaryrefslogtreecommitdiff
path: root/resources/jquery.tipsy
diff options
context:
space:
mode:
Diffstat (limited to 'resources/jquery.tipsy')
-rw-r--r--resources/jquery.tipsy/jquery.tipsy.css1
-rw-r--r--resources/jquery.tipsy/jquery.tipsy.js18
2 files changed, 10 insertions, 9 deletions
diff --git a/resources/jquery.tipsy/jquery.tipsy.css b/resources/jquery.tipsy/jquery.tipsy.css
index d79554d2..2e504c32 100644
--- a/resources/jquery.tipsy/jquery.tipsy.css
+++ b/resources/jquery.tipsy/jquery.tipsy.css
@@ -2,6 +2,7 @@
padding: 5px;
position: absolute;
z-index: 100000;
+ cursor: default;
}
.tipsy-inner {
padding: 5px 8px 4px 8px;
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;
+ }
}
}