Sfoglia il codice sorgente

js nullchecks

tags/v1.0.0
Stefano Chiodino 6 anni fa
parent
commit
3fe31ae856
1 ha cambiato i file con 5 aggiunte e 2 eliminazioni
  1. 5
    2
      static/js/script.js

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

@@ -63,7 +63,8 @@ jQuery(function ($) {
/* Portfolio Filtering Hook
/* ========================================================================= */

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

/* ========================================================================= */
/* Testimonial Carousel
@@ -305,4 +306,6 @@ function initialize() {
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…
Annulla
Salva