Skip to content

Commit

Permalink
handling an exception with the positioning of the sliiider for older …
Browse files Browse the repository at this point in the history
…IE browsers
  • Loading branch information
Ahmed Radwan committed Nov 6, 2015
1 parent 4c3f6ac commit 29352c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sliiide.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
var sliiiderHeight = $sliiider.height();
var sliiiderOffsetTop = $sliiider.offset().top;

if((sliiiderOffsetTop !== scrollTop) && settings.place !== "bottom")
if((sliiiderOffsetTop !== scrollTop) && settings.place !== "bottom" && !(ie && ie <= 11 && settings.place ==="top"))
{
$sliiider.css('top', scrollTop);
}
Expand Down

0 comments on commit 29352c8

Please sign in to comment.