Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/meghna-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorsomrat <monnaf37@gmail.com>2019-03-27 08:54:53 +0300
committersomrat <monnaf37@gmail.com>2019-03-27 08:54:53 +0300
commit8408aa83962fe3b343e791b2e72f413a5d2f0e1f (patch)
treee7b2d41130cebeefbbed32e74c90fc56c6822061 /assets
parent03f4f40aa45cc32abb3fa589348c75b6757684fb (diff)
remove unnessessary plugins and added filtarizr plugin
Diffstat (limited to 'assets')
-rw-r--r--assets/js/script.js29
1 files changed, 12 insertions, 17 deletions
diff --git a/assets/js/script.js b/assets/js/script.js
index 8333b30..cd3d69c 100644
--- a/assets/js/script.js
+++ b/assets/js/script.js
@@ -51,8 +51,7 @@ jQuery(function ($) {
/* Portfolio Filtering Hook
/* ========================================================================= */
- var mixer = mixitup('.portfolio-items-wrapper');
-
+ var filterizd = $('.filtr-container').filterizr({});
/* ========================================================================= */
/* Testimonial Carousel
/* ========================================================================= */
@@ -65,10 +64,6 @@ jQuery(function ($) {
autoplaySpeed: 4000
});
-
-
-
-
/* ========================================================================= */
/* Contact Form Validating
/* ========================================================================= */
@@ -167,7 +162,7 @@ var wow = new WOW({
//https://github.com/matthieua/WOW/issues/196#issuecomment-348734401
var scrolled = false;
-$(window).on('scroll', function() {
+$(window).on('scroll', function () {
if (!scrolled) {
scrolled = true;
wow.init();
@@ -298,18 +293,18 @@ google.maps.event.addDomListener(window, "load", initialize);
/* ========================================================================= */
/* Staticman comments reply
/* ========================================================================= */
-function changeValue(elementName, newValue){
- document.getElementsByName(elementName)[0].value=newValue;
+function changeValue(elementName, newValue) {
+ document.getElementsByName(elementName)[0].value = newValue;
};
/* ========================================================================= */
/* Honeypot
/* ========================================================================= */
-$(document).ready(function() {
- $('form').submit(function() {
- if ($('input[type="text"]#e-mail').val().length > 0) {
- $('form').attr('action', '/');
- return false;
- }
- });
-});
+$(document).ready(function () {
+ $('form').submit(function () {
+ if ($('input[type="text"]#e-mail').val().length > 0) {
+ $('form').attr('action', '/');
+ return false;
+ }
+ });
+}); \ No newline at end of file