hooch 0.16.9 → 0.16.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/hooch.js +5 -3
- data/lib/hooch/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 370d879cddf660312cf406765003839b621eb7c05fe962bc4901d53c60529e81
|
4
|
+
data.tar.gz: df384090746845ecc9a6ea157d082cd6833d98ec2ad79ec4bfd009fc7d28dc6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d43409004fbe9ea315d55cc627260ee949da4f3ac4c1d389f46dfbdb5741e5720f5c27a2bd92302afcda51efa8482930e623b14de38ecf3a76cadf01e211bc88
|
7
|
+
data.tar.gz: 85eaaf48d866537283960abf2450cc59fcdd0451777bd9874a6384ad63c5f228f679c2a2c4b252f082343cab9409625fd845787e3765e32ec3d224231fd68e27
|
@@ -208,11 +208,11 @@ var initHooch = function(){
|
|
208
208
|
}
|
209
209
|
}),
|
210
210
|
ModalDismisser: Class.extend({
|
211
|
-
init: function($dismisser,
|
211
|
+
init: function($dismisser,modal){
|
212
212
|
var dismisser = this
|
213
213
|
this.$dismisser = $dismisser;
|
214
214
|
hooch.dismisser = this
|
215
|
-
this.
|
215
|
+
this.modal = modal
|
216
216
|
$dismisser.css({cursor: 'pointer'})
|
217
217
|
$dismisser.on('click', function(){
|
218
218
|
dismisser.dismissModal()
|
@@ -220,7 +220,7 @@ var initHooch = function(){
|
|
220
220
|
},
|
221
221
|
dismissModal: function(){
|
222
222
|
hooch.dismisser = null
|
223
|
-
this.
|
223
|
+
this.modal.close()
|
224
224
|
}
|
225
225
|
}),
|
226
226
|
Modal: Class.extend({
|
@@ -265,6 +265,8 @@ var initHooch = function(){
|
|
265
265
|
this.$modal_mask.hide()
|
266
266
|
this.$modal_content.hide()
|
267
267
|
this.enableScroll()
|
268
|
+
//TODO remove this after Foundation is gone.
|
269
|
+
$('.reveal-overlay').hide() // HACKITY HACK: this is just to shut Foundation up temporarily until we remove it
|
268
270
|
this.$modal_wrapper.trigger('modalClosed')
|
269
271
|
},
|
270
272
|
disableScroll: function(){
|
data/lib/hooch/version.rb
CHANGED