hooch 0.16.20 → 0.16.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/hooch.js +7 -3
- data/lib/hooch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab8a299c5d5cea0b73b0f37896a5c5fe08f6e070a3abd3f3347047f0aed4328b
|
4
|
+
data.tar.gz: ceadd2f7df0982c592712039098c060e4c96553cb7eed9e1b3c3aa809b4f0f99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 525913d0d3440de05b43491762b5262a7992101bfea6fee6308ef91fda31d2a109de509601e83bbbf60bad2db6bb390b9c3514ea63e945938772c097581a2226
|
7
|
+
data.tar.gz: e4816b063f41969dcb0b456f1b3b332d6be0cc51c2483662204b22ceb5cf9718420644694c218a88f4bf2264fa059f67161d60e077af5640c9c687ab0724c436
|
@@ -240,15 +240,19 @@ var initHooch = function(){
|
|
240
240
|
load: function($modal_content,dismissable){
|
241
241
|
this.$modal_content = $modal_content
|
242
242
|
this.dismissable = dismissable
|
243
|
-
this
|
244
|
-
this.$modal_wrapper.append(this.$dismisser)
|
245
|
-
this.$modal_content.show()
|
243
|
+
this.arrangeContent()
|
246
244
|
this.attachDismisser()
|
247
245
|
this.disableScroll()
|
248
246
|
this.$modal_content.trigger('modalInitialized')
|
249
247
|
this.showModal()
|
250
248
|
this.$modal_content.trigger('modalVisible')
|
251
249
|
},
|
250
|
+
arrangeContent: function(){
|
251
|
+
this.$modal_wrapper.html(this.$modal_content)
|
252
|
+
this.$modal_wrapper.append(this.$dismisser)
|
253
|
+
this.$modal_wrapper.css({'max-height': window.innerHeight - 100})
|
254
|
+
this.$modal_content.show()
|
255
|
+
},
|
252
256
|
getMask: function(){
|
253
257
|
this.$modal_mask = $('#hooch-mask')
|
254
258
|
},
|
data/lib/hooch/version.rb
CHANGED
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.
|
4
|
+
version: 0.16.21
|
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-
|
11
|
+
date: 2019-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|