diff --git a/misc/demo/assets/app.js b/misc/demo/assets/app.js index d406a7ca3c..4f4cd41b24 100644 --- a/misc/demo/assets/app.js +++ b/misc/demo/assets/app.js @@ -1,6 +1,6 @@ /* global FastClick, smoothScroll */ angular.module('ui.bootstrap.demo', ['ui.bootstrap', 'plunker', 'ngTouch', 'ngAnimate', 'ngSanitize'], function($httpProvider){ - if (!!FastClick) { + if (!!window.FastClick) { FastClick.attach(document.body); } delete $httpProvider.defaults.headers.common['X-Requested-With'];