forked from Botanical/BotanJS
firefox does not support backgroundPositionY
This commit is contained in:
parent
bb9f8a87b3
commit
5b1955ced7
@ -240,7 +240,7 @@
|
||||
, function()
|
||||
{
|
||||
var p = wsupp.scrollTop / ( wsupp.scrollHeight - wsupp.clientHeight );
|
||||
bWrapper.style.backgroundPositionY = ( p * 100 ) + "%";
|
||||
bWrapper.style.backgroundPosition = "50% " + ( p * 100 ) + "%";
|
||||
}
|
||||
, 15
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user