concertina-js-rails 0.1.1 → 0.1.2

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: 6d55e70280ecfd10c982236f0fa658b7114d50e9
4
- data.tar.gz: 839f289c259464c5949d26aa229292e8a50e126c
3
+ metadata.gz: c20b88dadab41c48c97e402c714d2644708052ca
4
+ data.tar.gz: 0212af967f2f9021116390bf73f558444f7e9aba
5
5
  SHA512:
6
- metadata.gz: d5b12860347d30460cff7116f655be238d328d5e9b1408db022891f324e9b5f0595c536bb5c93cbf079f6b5692b0f0cd98b4602806bf08167433d8181bc2637b
7
- data.tar.gz: acb4eab79ce07154c3afe76b13edc45f5303d8ff7fbb7c0c54ac0e573d6091f89481faa164a6b407e2bb469cc634460c723c356f9d37203e1487867c6798adef
6
+ metadata.gz: f9664674c044fc4a739c1bd67be6e7d9300f1fe3864897a7b76a93c095371eec352c9fc359b5787ce0bfd906b34012dcbc4b776e17abf2eb92c0fe6f95644c34
7
+ data.tar.gz: 46abd5acb29b0985199aa1845069ee2bdfa11fa9962518983754a5aef69f1e7aef62cc5874aa535d32db885e356aab3608042be85097a44088cebfa6e370419f
@@ -1,7 +1,7 @@
1
1
  module Concertina
2
2
  module Js
3
3
  module Rails
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
6
6
  end
7
7
  end
@@ -1,8 +1,9 @@
1
1
  $(function() {
2
2
 
3
- $(document).on('click', '.Concertina-wrap', function(){
4
- $(this).find('.Concertina-text').slideToggle(250);
5
- $(this).find('.Concertina-item').toggleClass('s-rotated');
3
+ $(document).on('click', '.Concertina-title', function(){
4
+ var $parent = $(this).parent();
5
+ $parent.find('.Concertina-text').slideToggle(250);
6
+ $parent.find('.Concertina-item').toggleClass('s-rotated');
6
7
  })
7
8
 
8
9
  });
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: concertina-js-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Tan