phcthemes_web_theme_pack 1.6.3 → 1.6.4
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: b18c10c1ff2167bcb6bb71960df1bfbd0471b782a785ce308cc7b7343bb49cc8
|
4
|
+
data.tar.gz: 411c09f093e9095bfaf218481853a1abf76998e8f2021ee3a0b275807d5257ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99e595d4fa1f08a748f1a0c6663140899eb80030dc9edf45b08d766a3c3edc6556f8da41a5f525068c93d530d15cd0244d70ab9862646794555905774f419d83
|
7
|
+
data.tar.gz: 55593741ac8bd4a174bc38bd43601cb0f30ef34c6a32f4eaef9b0d9bf3d35a5e021849f5a343ae12db372a37ff13fd6010cb5fb4625f7de79b8fb1c5bbf50913
|
@@ -29,13 +29,11 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
29
29
|
owldemo();
|
30
30
|
isotope();
|
31
31
|
livechat();
|
32
|
-
contactform();
|
33
32
|
popover();
|
34
33
|
scrollgoto();
|
35
34
|
active();
|
36
35
|
display();
|
37
36
|
switching();
|
38
|
-
translate();
|
39
37
|
switchVisible();
|
40
38
|
});
|
41
39
|
//----------------------------------------------------/
|
@@ -132,43 +130,6 @@ $(".mobile .menu-item")
|
|
132
130
|
}
|
133
131
|
}
|
134
132
|
);
|
135
|
-
//----------------------------------------------------/
|
136
|
-
// i18next translate
|
137
|
-
//----------------------------------------------------/
|
138
|
-
function translate() {
|
139
|
-
$.getScript('js/lib/i18next.min.js', function() {
|
140
|
-
$.getScript('js/lib/i18nextXHRBackend.min.js', function() {
|
141
|
-
$.getScript('js/lib/jquery-i18next.min.js', function() {
|
142
|
-
var language = localStorage.getItem('lng');
|
143
|
-
if (!language) {
|
144
|
-
localStorage.setItem('lng', 'en-US');
|
145
|
-
language = 'en-US';
|
146
|
-
}
|
147
|
-
i18next.use(i18nextXHRBackend)
|
148
|
-
.init({
|
149
|
-
lng: language,
|
150
|
-
fallbackLng: 'en-US',
|
151
|
-
backend: {
|
152
|
-
loadPath: 'locales/{{lng}}/translations.json'
|
153
|
-
}
|
154
|
-
}, function(err, t) {
|
155
|
-
jqueryI18next.init(i18next, $, {
|
156
|
-
tName: 't',
|
157
|
-
i18nName: 'i18n',
|
158
|
-
handleName: 'localize',
|
159
|
-
selectorAttr: 'data-i18n',
|
160
|
-
targetAttr: 'i18n-target',
|
161
|
-
optionsAttr: 'i18n-options',
|
162
|
-
useOptionsAttr: false,
|
163
|
-
parseDefaultValueFromContent: true
|
164
|
-
});
|
165
|
-
$(document)
|
166
|
-
.localize();
|
167
|
-
});
|
168
|
-
});
|
169
|
-
});
|
170
|
-
});
|
171
|
-
}
|
172
133
|
/*----------------------*/
|
173
134
|
/* Switch */
|
174
135
|
/*----------------------*/
|
@@ -277,26 +238,6 @@ function popover() {
|
|
277
238
|
.popover()
|
278
239
|
}
|
279
240
|
/*----------------------*/
|
280
|
-
/* Contact Form */
|
281
|
-
/*----------------------*/
|
282
|
-
function contactform() {
|
283
|
-
$('#contactForm')
|
284
|
-
.on('submit', function(e) {
|
285
|
-
$.ajax({
|
286
|
-
type: "POST",
|
287
|
-
url: 'php/form-process.php',
|
288
|
-
data: $(this)
|
289
|
-
.serialize(),
|
290
|
-
success: function() {
|
291
|
-
$('#msgSubmit')
|
292
|
-
.fadeIn(100)
|
293
|
-
.show();
|
294
|
-
}
|
295
|
-
});
|
296
|
-
e.preventDefault();
|
297
|
-
});
|
298
|
-
};
|
299
|
-
/*----------------------*/
|
300
241
|
/* Live Chat */
|
301
242
|
/*----------------------*/
|
302
243
|
function livechat() {
|