Fixed closing pre tag

This commit is contained in:
Ghislain Seguin 2012-01-12 21:29:00 -08:00 committed by scottjehl
parent d97bc7dba1
commit 9b0e263248

View file

@ -195,7 +195,7 @@ myswitch.slider("refresh");
$(document).bind('mobileinit',function(){
<strong>$.mobile.page.prototype.options.keepNative = "select, input.foo, textarea.bar";</strong>
});
</pre></code>
</code></pre>
<p>One special case is that of selects. The above sample will prevent any and all augmentation from taking place on select elements in the page if <code>select</code> is included. If you wish to retain the native performance, look/feel of the menu itself and benefit from the visual augmentation of the select button by jQuery Mobile you can set <code>$.mobile.selectmenu.prototype.options.nativeMenu</code> to true in a <code>mobileinit</code> callback as a global setting or use <code>data-native-menu="true"</code> on a case by case basis.</p>