beyond-rails 0.0.278 → 0.0.279
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/Btn.js +7 -2
- 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: 15297937ea1d1c28d437fe383e3c56b7f2f7c67541c38aaea98e72d1bce1ccef
|
4
|
+
data.tar.gz: fd0d6b35386c60d9fd6e9f392c4f24f47ceca13b3f6aab25a1349333c7037e89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 427e1a00e3963ac3fa025ba83a0b436ad3c9c85e0cb1171640ffe8ac0bb0f0ed845864bee01644356710299f3685851a7da7445a388a6789b84ed300a83de398
|
7
|
+
data.tar.gz: 217b0709aad9b5658554fd994381589acbc8f62c6fb1169941d85f1d9e9735d4e7c3493631df76f5b944ff87473ee6f61afe9682c119ae07848ab44c9294c5dc
|
data/src/js/components/Btn.js
CHANGED
@@ -12,7 +12,7 @@ export default class Btn {
|
|
12
12
|
|
13
13
|
showLoader() {
|
14
14
|
const { dom } = this
|
15
|
-
this.
|
15
|
+
this.innerHtml = dom.innerHTML
|
16
16
|
dom.style.height = toPixel(dom.offsetHeight)
|
17
17
|
dom.style.width = toPixel(dom.offsetWidth)
|
18
18
|
dom.innerHTML = `
|
@@ -31,7 +31,12 @@ export default class Btn {
|
|
31
31
|
const { dom } = this
|
32
32
|
dom.style.removeProperty('width')
|
33
33
|
dom.style.removeProperty('height')
|
34
|
-
|
34
|
+
|
35
|
+
const { innerHtml } = this
|
36
|
+
|
37
|
+
if (innerHtml) {
|
38
|
+
dom.innerHTML = innerHtml
|
39
|
+
}
|
35
40
|
}
|
36
41
|
|
37
42
|
setLoading(loading) {
|
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.279
|
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: 2021-01-
|
12
|
+
date: 2021-01-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sassc
|