use calcy instead of computing the scroll
This commit is contained in:
parent
b5795ac97c
commit
4e6d1880ef
1 changed files with 1 additions and 8 deletions
|
|
@ -559,14 +559,7 @@ function select_card_type(obj)
|
|||
var content="select_card_div";
|
||||
if ( $(content)){removeDiv(content);}
|
||||
var sx=0;
|
||||
if ( window.scrollY)
|
||||
{
|
||||
sx=window.scrollY+160;
|
||||
}
|
||||
else
|
||||
{
|
||||
sx=document.body.scrollTop+160;
|
||||
}
|
||||
sx=calcy(160);
|
||||
|
||||
var str_style="top:"+sx+"px;height:auto";
|
||||
waiting_box();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue