Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Added a jQuery mobile configuration setting to allow you #1783

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions js/jquery.mobile.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
//error response message - appears when an Ajax page request fails
pageLoadErrorMessage: "Error Loading Page",

//configure if you want the toolbar to always be presented as an overlay
toolbarAlwaysOverlay: false,

//support conditions that must be met in order to proceed
//default enhanced qualifications are media query support OR IE 7+
gradeA: function(){
Expand Down
2 changes: 1 addition & 1 deletion js/jquery.mobile.fixHeaderFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ $.fixedToolbars = (function(){
.bind( "vclick",function(event){
if( touchToggleEnabled ) {
if( $(event.target).closest(ignoreTargets).length ){ return; }
if( !scrollTriggered ){
if( !scrollTriggered && !$.mobile.toolbarAlwaysOverlay){
$.fixedToolbars.toggle(stateBefore);
stateBefore = null;
}
Expand Down