Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit e6eaab6

Browse files
committed
Button: Fix initselector to only target inputs
1 parent 147ee42 commit e6eaab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/widgets/forms/button.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ $.widget( "mobile.button", {
115115
}
116116
});
117117

118-
$.mobile.button.initSelector = "input[type='button'], [type='submit'], [type='reset']";
118+
$.mobile.button.initSelector = "input[type='button'], input[type='submit'], input[type='reset']";
119119

120120
//auto self-init widgets
121121
$.mobile._enhancer.add( "mobile.button" );

0 commit comments

Comments
 (0)