phcthemes_web_theme_pack 4.0.1 → 4.0.2

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: c40496d6ebbf7edee9f909e2360a9cea6eec69aa5840e17b7edd8930c5047fff
4
- data.tar.gz: d9a6bd3e7dbc445898c855e70e98c419734d5e77642bd0e61c420de3ecbaa435
3
+ metadata.gz: ed9716e3f08f38bf940eb4be22f3df264cc4506807fa79455c61058276c1d595
4
+ data.tar.gz: d60527ff1c63cbf4f4716ee747871436d83974c129ac6638a41eec9986cce481
5
5
  SHA512:
6
- metadata.gz: 21fe249d0768bd00040fabe9ef5db9eb3a1460243f9846952e6039119061894ee3ae5d0feef34103dcbe20f732cfd599d86c3cfcb676e4c4a6e275a866fe7b95
7
- data.tar.gz: '084dcf32ef8929276956838ea6ebcdb08f5c53e54c9119d6a367add4d37c7513c1b215ff0ad0d350be5cd5c5a05b95c1b599e79b0dd32d0632398c7f4b19e26d'
6
+ metadata.gz: 9f1124a5fcbd37e808f29d3ff4f30af7c16f2173a8412a6d312ef013c745ffff594753f1d3ab03095c1f650877354504aa3d26b8344b331bf721f1df3ec0a0b6
7
+ data.tar.gz: bcda37747ea2242d750ea08fc6f7ef63d92c214b7cc84f19f186609aa3ab49b3302e4ea2d13b1d2f805b37c92abf04fb894a803dbcce00bc919c4a7ce0850243
@@ -14,5 +14,4 @@
14
14
  //= require themes/antlr/theme/swiper.min.js
15
15
  //= require themes/antlr/theme/lazysizes.min.js
16
16
  //= require themes/antlr/theme/wow.min.js
17
- //= require themes/antlr/theme/sidebar.js
18
17
  //= require themes/antlr/theme/scripts.js
@@ -35,7 +35,6 @@ document.addEventListener('DOMContentLoaded', function() {
35
35
  active();
36
36
  display();
37
37
  switching();
38
- headerfooter();
39
38
  translate();
40
39
  switchVisible();
41
40
  });
@@ -133,72 +132,7 @@ $(".mobile .menu-item")
133
132
  }
134
133
  }
135
134
  );
136
- //----------------------------------------------------/
137
- // i18next translate
138
- //----------------------------------------------------/
139
- function translate() {
140
- $.getScript('js/lib/i18next.min.js', function() {
141
- $.getScript('js/lib/i18nextXHRBackend.min.js', function() {
142
- $.getScript('js/lib/jquery-i18next.min.js', function() {
143
- var language = localStorage.getItem('lng');
144
- if (!language) {
145
- localStorage.setItem('lng', 'en-US');
146
- language = 'en-US';
147
- }
148
- i18next.use(i18nextXHRBackend)
149
- .init({
150
- lng: language,
151
- fallbackLng: 'en-US',
152
- backend: {
153
- loadPath: 'locales/{{lng}}/translations.json'
154
- }
155
- }, function(err, t) {
156
- jqueryI18next.init(i18next, $, {
157
- tName: 't',
158
- i18nName: 'i18n',
159
- handleName: 'localize',
160
- selectorAttr: 'data-i18n',
161
- targetAttr: 'i18n-target',
162
- optionsAttr: 'i18n-options',
163
- useOptionsAttr: false,
164
- parseDefaultValueFromContent: true
165
- });
166
- $(document)
167
- .localize();
168
- });
169
- });
170
- });
171
- });
172
- }
173
- /*---------------------------------*/
174
- /* Load header and footer file */
175
- /*---------------------------------*/
176
- function headerfooter() {
177
- $("#header")
178
- .load("header.html", function(res, status, xhr) {
179
- $('#drop-lng [data-lng="' + localStorage.getItem('lng') + '"]')
180
- .addClass('xpto active');
181
- $('#drop-lng label')
182
- .click(function(e) {
183
- e.preventDefault();
184
- localStorage.setItem('lng', $(this)
185
- .attr('data-lng'));
186
- location.reload(true);
187
- });
188
- });
189
- $("#footer")
190
- .load("footer.html", function(res, status, xhr) {
191
- $('#drop-lng [data-lng="' + localStorage.getItem('lng') + '"]')
192
- .addClass('xpto active');
193
- $('#drop-lng label')
194
- .click(function(e) {
195
- e.preventDefault();
196
- localStorage.setItem('lng', $(this)
197
- .attr('data-lng'));
198
- location.reload(true);
199
- });
200
- });
201
- }
135
+
202
136
  /*----------------------*/
203
137
  /* Switch */
204
138
  /*----------------------*/
@@ -1,3 +1,3 @@
1
1
  module PhcthemesWebThemePack
2
- VERSION = "4.0.1"
2
+ VERSION = "4.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcthemes_web_theme_pack
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks