Minor change to correct offset problem for Cart popup. Libraries with opacheader markup specified were finding their Cart popup appearing out of place.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Owen Leonard 2008-08-06 14:49:30 -05:00 committed by Joshua Ferraro
parent 63b6523ccc
commit 3f39392413
2 changed files with 1 additions and 2 deletions

View file

@ -554,7 +554,6 @@ a .term {
margin-left : -10px;
margin-right : -10px;
padding : .7em 0 .4em .5em;
position : relative;
font-size : 108%;
line-height : 116%;
}

View file

@ -410,7 +410,7 @@ function vShelfAdd() {
function showCart(){
var position = $("#cartmenulink").offset({border: true,margin:false});
var top = position.top + 16; // $("#cartmenulink").outerHeight();
var top = position.top + $("#cartmenulink").outerHeight();
var left = position.left - 105;
$("#cartDetails").css("position","absolute").css("top",top);
$("#cartDetails").css("position","absolute").css("left",left);