effective_bootstrap 0.9.11 → 0.9.12
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04eb70a546766f19237112eeffeea4fb2233f8dd49d4e68e1cca3ddd082357a3
|
4
|
+
data.tar.gz: 93becbeda35eac032da1f86038407ef56aecc3544f0b0ab62d8b73c267890a1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59150e0f2465c7b5182c82adbd43ab30ad349dc2dd4c624942a383f6d63ec1d74444a4311375400ea61a98ab649d90d937fa3d7e38f0f3217133855034f0c6a0
|
7
|
+
data.tar.gz: 4cf279bae151632a6de342f07031bf1fe2d3da7e10a0f8a2d52630326a6e5ed4b358dbe0d3c3bea602b14201a9d4d4745f61a30424a0333df8f205b786f4d754
|
@@ -2,3 +2,10 @@
|
|
2
2
|
$(document).on 'cocoon:before-remove', (event, $obj) ->
|
3
3
|
$(event.target).data('remove-timeout', 1000)
|
4
4
|
$obj.fadeOut('slow')
|
5
|
+
|
6
|
+
# Open all external trix links in a new window.
|
7
|
+
$(document).on 'click', '.trix-content a', (event) ->
|
8
|
+
obj = event.currentTarget
|
9
|
+
|
10
|
+
if obj.host != window.location.host && !obj.isContentEditable
|
11
|
+
obj.setAttribute('target', '_blank')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|