Skip to content

Commit

Permalink
Merge pull request jquery-archive#3329 from gabrielschulhof/fix-custo…
Browse files Browse the repository at this point in the history
…m-select-menu-position-in-IE8

Fix custom select menu popup positioning in IE8
  • Loading branch information
toddparker committed Dec 23, 2011
2 parents 5763a79 + 3b22bbf commit aaeacae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/jquery.mobile.forms.select.custom.js
Expand Up @@ -300,8 +300,8 @@
tScrollElem = activePage.is( ".ui-native-fixed" ) ? activePage.find( ".ui-content" ) : activePage,
scrollTop = tOverflow ? tScrollElem.scrollTop() : $( window ).scrollTop(),
btnOffset = self.button.offset().top,
screenHeight = window.innerHeight,
screenWidth = window.innerWidth;
screenHeight = $(window).height(),
screenWidth = $(window).width();

//add active class to button
self.button.addClass( $.mobile.activeBtnClass );
Expand Down

0 comments on commit aaeacae

Please sign in to comment.