appscms-tools-theme 3.6.1 → 3.6.3

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: 1a99f04b5b13d5ebe28d62bb4fd084c70920693b8535725d69158a7eea4f5f3f
4
- data.tar.gz: 2efeba2dbec502fab373d7b59e863cbdcc7260be975d841f71ca51d60bb0a96e
3
+ metadata.gz: ba36cc30623afd53e1aada48a46cd8d887e10874b644dd213b081d15b868b4f3
4
+ data.tar.gz: 5dc02b0de6f55fe22b73b3f82389639a8d134276a420e2628fb90e68b241bea6
5
5
  SHA512:
6
- metadata.gz: 5d2dec64c58f51c991d9e75987e363f375dbbbce076c8d134531159678f241119ef2e7fa1a17ad4ce5939132b2652f9e5d35bddca30172ae37d58f2e3a4398cd
7
- data.tar.gz: ec825540d4459af891024ea3ec1e946bacf111ed1ba8708053026e8f7acb8d8a964ab5711c94288044a5e8e3a7f60ddf58903972025d6097cabab2d6db1955f2
6
+ metadata.gz: 8b4be6551601c6bb33ffac0b060a5e1517ec9d2e8484e480047013ec4b8d0eec4a8f0c1d74fa67a8f3ee433e4af3edf2e3c9d825020226456e8435fad4036372
7
+ data.tar.gz: 8fa603c1a53dfc6246034d4c9e4b93b2329c8171191b1b035669209f00948c6ddc52d732c5385194f094b97725300129d43c01d2d442f333668f0f0ec277fd09
@@ -0,0 +1 @@
1
+ <!-- custom scripts -->
@@ -443,7 +443,8 @@ site.removeJquery != true -%}
443
443
  {%- endif -%}
444
444
 
445
445
  <script defer src="/assets/js/theme.js" crossorigin="anonymous"></script>
446
- {%- if site.userTrackingCount -%}
446
+ {%- if site.userTrackingCount -%} {%- include customScripts.html -%} {%- endif
447
+ -%} {%- if site.userTrackingCount and page.layout == "feature" -%}
447
448
  <script defer src="/assets/js/usageTracking.js"></script>
448
449
  <script defer src="/assets/js/usageTrackingEvents.js"></script>
449
450
  <script defer src="/assets/js/sharePage.js"></script>
data/assets/css/tools.css CHANGED
@@ -1702,7 +1702,7 @@ ol li::marker {
1702
1702
  .shareModal {
1703
1703
  display: none;
1704
1704
  position: fixed;
1705
- z-index: 1;
1705
+ z-index: 100000000000;
1706
1706
  left: 0;
1707
1707
  top: 0;
1708
1708
  width: 100%;
@@ -0,0 +1,6 @@
1
+ const inputBoxOfFeatureFile = document.querySelector("#inputbox");
2
+ if (inputBoxOfFeatureFile) {
3
+ inputBoxOfFeatureFile.addEventListener("click", () => {
4
+ checkUsage();
5
+ });
6
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.1
4
+ version: 3.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
@@ -114,6 +114,7 @@ files:
114
114
  - _includes/bookmark.html
115
115
  - _includes/cssfile/links.html
116
116
  - _includes/custom-head.html
117
+ - _includes/customScripts.html
117
118
  - _includes/customblog/recentposts.html
118
119
  - _includes/customblog/relatedposts.html
119
120
  - _includes/disqus_comments.html
@@ -439,7 +440,7 @@ files:
439
440
  - assets/js/testing-batch.js
440
441
  - assets/js/theme.js
441
442
  - assets/js/usageTracking.js
442
- - assets/js/userTrackingEvents.js
443
+ - assets/js/usageTrackingEvents.js
443
444
  - assets/linkdin.svg
444
445
  - assets/noserverupload.svg
445
446
  - assets/pdf.svg
@@ -1,13 +0,0 @@
1
- const inputBoxOfFeatureFile = document.querySelector("#file");
2
- const inputBoxOfFeatureFiles = document.querySelector("#files");
3
-
4
- if (inputBoxOfFeatureFile) {
5
- inputBoxOfFeatureFile.addEventListener("change", () => {
6
- checkUsage();
7
- });
8
- }
9
- if (inputBoxOfFeatureFiles) {
10
- inputBoxOfFeatureFiles.addEventListener("change", () => {
11
- checkUsage();
12
- });
13
- }