effective_bootstrap 0.10.5 → 0.10.6
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: 7ba2eb5dbf37fdf09730ef6cfb8c37ab0897ed37b7a0089b1128d63a97e0cce9
|
4
|
+
data.tar.gz: 1a35f8b75f1ba029541d35b56cc74ca5b94274e367ccf6515b896c14cdf505a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82d3bd6f546c27a1291b7fa38c659a81cd7e601cf5cbcb16def771d09728ad44929faa58abe1de332b812dbe2a95e08ffac6c6b26cc84327d5fb5df46cd0758a
|
7
|
+
data.tar.gz: 576b9152be489de519cc2cee490ff5f6d340f53bc023a1f4f087f398462a7101ed5180f293225ac9cdcb8923c2e3d38d1dd610f8abbf6967c3db57460190225a
|
@@ -3,13 +3,13 @@ $(document).ready(function() {
|
|
3
3
|
|
4
4
|
if ($tab_with_error.length > 0) {
|
5
5
|
$(".nav.nav-tabs").find("a[href^='#" + $tab_with_error.attr('id') + "']").tab('show');
|
6
|
-
|
7
|
-
var $tab_from_url = $(".nav.nav-tabs").find("a[href^='" + document.location.hash + "']");
|
6
|
+
return true;
|
8
7
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
8
|
+
} else if (document.location.search.length > 0) {
|
9
|
+
var tab = new URLSearchParams(document.location.search).get('tab');
|
10
|
+
if(tab.length == 0) { return false; }
|
11
|
+
|
12
|
+
$('.nav.nav-tabs').find("a[href^='#" + tab + "']").tab('show');
|
13
13
|
}
|
14
14
|
});
|
15
15
|
|
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.10.
|
4
|
+
version: 0.10.6
|
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: 2022-
|
11
|
+
date: 2022-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|