mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-05 15:10:59 +00:00
Removed dep on jqm.core
This commit is contained in:
parent
26df0afd45
commit
b72efb3bec
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
* "buttons" plugin - for making button-like links
|
||||
*/
|
||||
|
||||
define( [ "jquery", "jquery.mobile.core", "jquery.mobile.vmouse" ], function( $, undefined ) {
|
||||
define( [ "jquery", "jquery.mobile.vmouse" ], function( $, undefined ) {
|
||||
|
||||
$.fn.buttonMarkup = function( options ) {
|
||||
options = options || {};
|
||||
|
|
@ -73,7 +73,7 @@ $.fn.buttonMarkup = function( options ) {
|
|||
}
|
||||
|
||||
e.setAttribute( "data-" + $.mobile.ns + "theme", o.theme );
|
||||
el.addClass( buttonClass );
|
||||
el.removeClass( "ui-link" ).addClass( buttonClass );
|
||||
|
||||
buttonInner.className = innerClass;
|
||||
buttonInner.setAttribute("aria-hidden", "true");
|
||||
|
|
|
|||
Loading…
Reference in a new issue