hooch 0.16.18 → 0.16.19

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
  SHA256:
3
- metadata.gz: 60f55de30e97bcbc1041b295244daef1ca96baa58b700c4f78bdb1d850f04a47
4
- data.tar.gz: 86bedbd24868783f5cf8545ce961b8a5bfe7e3ecd2f3a4b41dbe1af222683ab5
3
+ metadata.gz: 331e0958dc1b7fd4cca7fc0c0ae9d3f01e5e8a1c1a8f04c92ca114c5bff69155
4
+ data.tar.gz: c2821245629fd5432a5fb7d65241d8d2e926d05486bbf4e4dc8830be47c349ac
5
5
  SHA512:
6
- metadata.gz: ffc4bb125afb14cc97fcac9d9aa3be9067db38e533964a8c377e0c0ee54c01be3aceb4bf4afcae344afac8e3e14a19cedc64c414e507ac01a538d3a2b1c16df8
7
- data.tar.gz: 2036078fbe86a085b4e46175a656b9b274e0156f9ec9fdb2c676b2fcd36a1947d2c6634768d5e1e283792138aca42f118852736643b62f3cdddc728445ccf274
6
+ metadata.gz: c1be27025d1fe1cc2e95dc91ed901abed5d705dc9617b12248327f001e7fa237e710f528ceb74bd374185a4c1cdbea82c70d73739da2d24a65dd60cf48eb744f
7
+ data.tar.gz: 2c2fb619a5a21712f912101e25c842a4d312fb8682694aa50807b8db13a68a710b46597836f231bb6b17884cb4111840ae7899954e71b3b8098be2ca6420a535
@@ -257,10 +257,11 @@ var initHooch = function(){
257
257
  },
258
258
  getDismisser: function(){
259
259
  this.$dismisser = this.$modal_mask.find('#hooch-dismiss')
260
- this.$dismisser.on('click', function(){hooch.current_modal.close()})
261
260
  },
262
261
  attachDismisser: function(){
263
262
  if(this.dismissable){
263
+ this.$dismisser.off('click')
264
+ this.$dismisser.on('click', function(){hooch.current_modal.close()})
264
265
  this.$dismisser.show()
265
266
  } else {
266
267
  this.$dismisser.hide()
@@ -1,3 +1,3 @@
1
1
  module Hooch
2
- VERSION = "0.16.18"
2
+ VERSION = "0.16.19"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hooch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.18
4
+ version: 0.16.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-01 00:00:00.000000000 Z
11
+ date: 2019-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails