mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-26 10:40:44 +00:00
12 lines
No EOL
243 B
JavaScript
12 lines
No EOL
243 B
JavaScript
/*
|
|
* "nojs" plugin - class to make elements hidden to A grade browsers
|
|
*/
|
|
|
|
(function( $, undefined ) {
|
|
|
|
$( document ).bind( "pagecreate create", function( e ){
|
|
$( ":jqmData(role='nojs')", e.target ).addClass( "ui-nojs" );
|
|
|
|
});
|
|
|
|
})( jQuery ); |