From be1ab41d2f43808c8d6785ba15da008ccdc24ee6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 18 Jun 2008 10:56:56 -0500 Subject: [PATCH] Position of cart details popup needs to be specified numerically since jquery can't seem to accurately calculate the dimensions of the cart button. Signed-off-by: Joshua Ferraro --- koha-tmpl/opac-tmpl/prog/en/js/basket.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100755 => 100644 koha-tmpl/opac-tmpl/prog/en/js/basket.js diff --git a/koha-tmpl/opac-tmpl/prog/en/js/basket.js b/koha-tmpl/opac-tmpl/prog/en/js/basket.js old mode 100755 new mode 100644 index cabf4da7fe..a2eb4b4d48 --- a/koha-tmpl/opac-tmpl/prog/en/js/basket.js +++ b/koha-tmpl/opac-tmpl/prog/en/js/basket.js @@ -410,8 +410,8 @@ function vShelfAdd() { function showCart(){ var position = $("#cartmenulink").offset({border: true,margin:false}); - var top = position.top + $("#cartmenulink").outerHeight(); - var left = position.left; + var top = position.top + 16; // $("#cartmenulink").outerHeight(); + var left = position.left - 105; $("#cartDetails").css("position","absolute").css("top",top); $("#cartDetails").css("position","absolute").css("left",left); $("#cartDetails").fadeIn("fast",function(){