src/pyams_skin/resources/js/ext/jquery-tipsy.js
changeset 493 4f5d2b45814f
parent 0 bb4aabe07487
--- a/src/pyams_skin/resources/js/ext/jquery-tipsy.js	Fri Dec 14 18:33:40 2018 +0100
+++ b/src/pyams_skin/resources/js/ext/jquery-tipsy.js	Mon Dec 17 10:24:14 2018 +0100
@@ -64,10 +64,10 @@
 				if (gravity.length == 2) {
 					if (gravity.charAt(1) == 'w') {
 						tp.left = pos.width < 15 ? pos.left + (pos.width / 2) - 14
-							: pos.left - 5;
+							: pos.left + (pos.width / 2) - 14;
 					} else {
 						tp.left = pos.width < 15 ? pos.left + pos.width - actualWidth + (pos.width / 2) + 4
-							: pos.left + pos.width - actualWidth + 5;
+							: pos.left + (pos.width / 2) - actualWidth + 14;
 					}
 				}