hooch 0.15.26 → 0.15.27
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 +5 -1
- data/lib/hooch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13e1418764c249f6508ca71cd322b64c0c9985f2
|
4
|
+
data.tar.gz: 7eee74005ffa89c2900ccaa21cfaf1a9eb2e0dd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4f682d988bc5d2c79fef58707c5010f23fddd619ea1a61d70ef3fde394fe3453c7c7d5f2bb01ab2b6069af650d3e90e0fab4546ed85b099c2b1d649a1dbbafa
|
7
|
+
data.tar.gz: 2501fd4db75e39532e064256a69e5cadbf48ec64383beb7a787bb6898396686f7a4abcacae3e6c6ca38d58cb5c25aaffb5f34a91ecb562bf565ee5a5b81b5ecf
|
@@ -2228,7 +2228,11 @@ var initHooch = function(){
|
|
2228
2228
|
if(this.target.data('ajax-target')){
|
2229
2229
|
this.target.click();
|
2230
2230
|
}else if(this.target.attr('href')){
|
2231
|
-
|
2231
|
+
if ("_blank" === this.target.attr('target')){
|
2232
|
+
window.open(this.target.attr('href'));
|
2233
|
+
}else{
|
2234
|
+
window.location = this.target.attr('href');
|
2235
|
+
}
|
2232
2236
|
}
|
2233
2237
|
this.first_submit = false;
|
2234
2238
|
}
|
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.15.
|
4
|
+
version: 0.15.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Draut
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|