Permalink
Browse files

KeepNative: Made keep native just a selector string on $.mobile and d…

…eprecate keepNativeSelector from page
  • Loading branch information...
arschmitz committed Aug 9, 2013
1 parent 20433c6 commit 40857b36f8364a69f8e8da905451c4ceba386f12
Showing with 6 additions and 1 deletion.
  1. +3 −0 js/jquery.mobile.defaults.js
  2. +3 −1 js/widgets/page.js
@@ -23,6 +23,9 @@ define( [ "jquery", "./jquery.mobile.ns", "json!../package.json" ], function( jQ
hideUrlBar: true,
// Keepnative Selector
keepNative: ":jqmData(role='none'), :jqmData(role='nojs')",
// Class assigned to page currently in view, and during transitions
activePageClass: "ui-page-active",
View
@@ -36,7 +36,9 @@ $.widget( "mobile.page", {
options: {
theme: "a",
domCache: false,
keepNativeDefault: ":jqmData(role='none'), :jqmData(role='nojs')",
// Deprecated in 1.4 remove in 1.5
keepNativeDefault: $.mobile.keepNative,
contentTheme: null
},

0 comments on commit 40857b3

Please sign in to comment.