beyond-rails 0.0.211 → 0.0.212
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/src/js/components/Modal.js +7 -0
- 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: 66767efb242ab578214d8635453980ed11de8f8b7a726e44bd3637c5fb258b20
|
4
|
+
data.tar.gz: a87bb51ac683959f961452da0bb269903277681ea398639f7799ec03a447db8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08ecb52a279b63b7563b609d1e85dc0239de376005e9fe0339dd4d766916e930ffea6e3c8295400f54d07672f15e7a2cd632e499c820239a2296d02cab0c7e05'
|
7
|
+
data.tar.gz: 8212aa99a1ff83d5af31a9ac7ae1478d47e30b65341fa84e26aa0993a79a8388ac4d2005c87b4d9142b802b7118e66eb3935d2256329309ee725756c5f1bd7b4
|
data/src/js/components/Modal.js
CHANGED
@@ -75,6 +75,13 @@ export default class Modal {
|
|
75
75
|
const div = document.createElement('div')
|
76
76
|
div.innerHTML = html.trim()
|
77
77
|
const dom = div.firstChild
|
78
|
+
|
79
|
+
// keep the id that is created by $.uniqModal()
|
80
|
+
const originalDomId = this.dom.id
|
81
|
+
if (originalDomId === 'beyond-uniq-modal') {
|
82
|
+
dom.id = originalDomId
|
83
|
+
}
|
84
|
+
|
78
85
|
this.dom.parentNode.replaceChild(dom, this.dom)
|
79
86
|
|
80
87
|
this.dom = dom
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beyond-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.212
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kmsheng
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-09-
|
12
|
+
date: 2020-09-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sassc
|