mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 06:20:26 +00:00
17 lines
No EOL
335 B
JavaScript
17 lines
No EOL
335 B
JavaScript
/*
|
|
* "links" plugin - simple class additions for links
|
|
*/
|
|
|
|
(function( $, undefined ) {
|
|
|
|
$( document ).bind( "pagecreate create", function( e ){
|
|
|
|
//links within content areas
|
|
$( e.target )
|
|
.find( "a" )
|
|
.not( ".ui-btn, .ui-link-inherit, :jqmData(role='none'), :jqmData(role='nojs')" )
|
|
.addClass( "ui-link" );
|
|
|
|
});
|
|
|
|
})( jQuery ); |