techatspree/jquery-toastmessage-plugin

Css top on Internet Explorer

Opened this issue · 0 comments

The top of the css property is interpreted differently in Internet Explorer and Firefox.

I used this workaround:

if(navigator.userAgent.match(/MSIE/i))
{
toastWrapAll.css({top: $(window).scrollTop()+'px'});
//toastWrapAll.css({top: document.documentElement.scrollTop});
}

Bye