aboutsummaryrefslogtreecommitdiff
path: root/views/default/js
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/js')
-rw-r--r--views/default/js/tagging.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/views/default/js/tagging.php b/views/default/js/tagging.php
index 11f195783..bd6890502 100644
--- a/views/default/js/tagging.php
+++ b/views/default/js/tagging.php
@@ -189,7 +189,8 @@
function showTagMenu(oObject, oCoordenates)
{
- offsetX = -100;
+ offsetX = 6;
+ offsetY = 10;
imgOffset = $('#tidypics_image').offset();
@@ -197,8 +198,8 @@
if (oCoordenates.width != 0 && oCoordenates.height != 0) {
coordinates = oCoordenates;
- _top = imgOffset.top + oCoordenates.y2;
- _left = imgOffset.left + oCoordenates.x2 + offsetX;
+ _top = imgOffset.top + oCoordenates.y2 + offsetY;
+ _left = imgOffset.left + oCoordenates.x1 + offsetX;
$('#tidypics_tag_menu').show().css({
"top": _top + "px",