We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90fb871 commit ee424f5Copy full SHA for ee424f5
js/jquery.mobile.media.js
@@ -101,7 +101,7 @@ $.mobile.addResolutionBreakpoints = function( newbps ){
101
$(document).bind("mobileinit.htmlclass", function(){
102
/* bind to orientationchange and resize
103
to add classes to HTML element for min/max breakpoints and orientation */
104
- $window.bind("orientationchange.htmlclass resize.htmlclass", function(event){
+ $window.bind("orientationchange.htmlclass", function(event){
105
//add orientation class to HTML element on flip/resize.
106
if(event.orientation){
107
$html.removeClass( "portrait landscape" ).addClass( event.orientation );
0 commit comments