Skip to content

Commit

Permalink
Toolbar: Implement Classes Option
Browse files Browse the repository at this point in the history
classes in the workarounds file

Fixes jquery-archivegh-7687
  • Loading branch information
cgack committed Mar 12, 2015
1 parent 0c9927a commit 0f4fe72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/widgets/fixedToolbar.workarounds.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ define( [ "jquery", "../widget", "../core", "../navigation", "./page", "../zoom"
//setting the li's to -webkit-transform:translate3d(0,0,0); solves this problem to avoide potential issues in other
//platforms we scope this with the class ui-android-2x-fix
_bindListThumbWorkaround: function() {
this.element.closest( ".ui-page" ).addClass( "ui-android-2x-fixed" );
this._addClass( this.element.closest( ".ui-page" ), null, "ui-android-2x-fixed" );
},
//this addresses issues #4337 Fixed header problem after scrolling content on iOS and Android
//and device bugs project issue #1 Form elements can lose click hit area in position: fixed containers.
Expand All @@ -94,7 +94,7 @@ define( [ "jquery", "../widget", "../core", "../navigation", "./page", "../zoom"
destroy: function() {
this._super();
//Remove the class we added to the page previously in android 2.x
this.element.closest( ".ui-page-active" ).removeClass( "ui-android-2x-fix" );
this._removeClass( this.element.closest( ".ui-page-active" ), null, "ui-android-2x-fix" );
}
});

Expand Down

0 comments on commit 0f4fe72

Please sign in to comment.