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 <jmf@liblime.com>
This commit is contained in:
parent
4128725f69
commit
be1ab41d2f
1 changed files with 2 additions and 2 deletions
4
koha-tmpl/opac-tmpl/prog/en/js/basket.js
Executable file → Normal file
4
koha-tmpl/opac-tmpl/prog/en/js/basket.js
Executable file → Normal file
|
@ -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(){
|
||||
|
|
Loading…
Reference in a new issue