Browse Source

js nullchecks

tags/v1.0.0
Stefano Chiodino 6 years ago
parent
commit
3fe31ae856
1 changed files with 5 additions and 2 deletions
  1. 5
    2
      static/js/script.js

+ 5
- 2
static/js/script.js View File

/* Portfolio Filtering Hook /* Portfolio Filtering Hook
/* ========================================================================= */ /* ========================================================================= */


var mixer = mixitup('.portfolio-items-wrapper');
if ($('.portfolio-items-wrapper').length)
mixitup('.portfolio-items-wrapper');


/* ========================================================================= */ /* ========================================================================= */
/* Testimonial Carousel /* Testimonial Carousel
map.setMapTypeId('roadatlas'); map.setMapTypeId('roadatlas');
} }


google.maps.event.addDomListener(window, "load", initialize);
// Check init google maps only if "google" has been defined.
if("google" in window)
google.maps.event.addDomListener(window, "load", initialize);

Loading…
Cancel
Save