소스 검색

js nullchecks

tags/v1.0.0
Stefano Chiodino 6 년 전
부모
커밋
3fe31ae856
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5
    2
      static/js/script.js

+ 5
- 2
static/js/script.js 파일 보기

@@ -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…
취소
저장