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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fda99fbf6c0197ad1d313f824b5004f71b6ab82d
4
- data.tar.gz: b9b0309b4ca88b7cf2990e32b4d7e73245e0f0db
3
+ metadata.gz: df6108e0c7c51d820246945a3912d9b24b0e1e97
4
+ data.tar.gz: 331635cfc4c42ce9281044b24d88f17020893300
5
5
  SHA512:
6
- metadata.gz: 11af104336270b294ee9aa15fa83bd6f5fecaec3dbb0ac8643265df354af1e3b1b356d0bcb73a814cab04df61cf8fa25ec7fecbb343b0a6de150e65cf986f477
7
- data.tar.gz: 1127f14eb9c774dbcba2d5905a2a2e89278fd32c2e23b3f2e31d59a1bb2cddf02145e724fd859757d3cbdfc94fcd467828afd7220b67c32cd8ba5a37b4e1827b
6
+ metadata.gz: 79c36b5a06a7f1ec6aea2178696d0b0f2991c4f8867168f7652867ee68b02b39a5243f715077b1f4ed5534e9748c1f246eadaba7796337b6607effee9b767f3c
7
+ data.tar.gz: d7d3c07fa092f204279c93ef4846f1d60c0221905ef75073ade3d1d996d26ea03a9be7dca33ba71ef4970a466395e990a2a37fdbaba7e8bf214e98fcb3baa506
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.9.3 (2016-10-21)
2
+
3
+ - Update assets to match upstream version
4
+
1
5
  ## 0.9.2 (2016-10-21)
2
6
 
3
7
  - Update assets to match upstream version
@@ -1,5 +1,5 @@
1
1
  module Mui
2
2
  module Sass
3
- VERSION = '0.9.2'
3
+ VERSION = '0.9.3'
4
4
  end
5
5
  end
@@ -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
- if (!toggleEl.hasAttribute('type')) toggleEl.type = 'button';
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);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mui-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitriy Tarasov