mui-sass 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/mui/sass/version.rb +1 -1
- data/vendor/assets/javascripts/mui.js +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df6108e0c7c51d820246945a3912d9b24b0e1e97
|
4
|
+
data.tar.gz: 331635cfc4c42ce9281044b24d88f17020893300
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79c36b5a06a7f1ec6aea2178696d0b0f2991c4f8867168f7652867ee68b02b39a5243f715077b1f4ed5534e9748c1f246eadaba7796337b6607effee9b767f3c
|
7
|
+
data.tar.gz: d7d3c07fa092f204279c93ef4846f1d60c0221905ef75073ade3d1d996d26ea03a9be7dca33ba71ef4970a466395e990a2a37fdbaba7e8bf214e98fcb3baa506
|
data/CHANGELOG.md
CHANGED
data/lib/mui/sass/version.rb
CHANGED
@@ -897,7 +897,11 @@ function initialize(toggleEl) {
|
|
897
897
|
else toggleEl._muiDropdown = true;
|
898
898
|
|
899
899
|
// use type "button" to prevent form submission by default
|
900
|
-
|
900
|
+
var tagName = toggleEl.tagName;
|
901
|
+
if ((tagName === 'INPUT' || tagName === 'BUTTON')
|
902
|
+
&& !toggleEl.hasAttribute('type')) {
|
903
|
+
toggleEl.type = 'button';
|
904
|
+
}
|
901
905
|
|
902
906
|
// attach click handler
|
903
907
|
jqLite.on(toggleEl, 'click', clickHandler);
|