From 7c385a7877aa4b0163dda6206f656846db2cf039 Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Thu, 17 Sep 2015 12:32:47 -0400 Subject: iOS9 fixes (which includes ionic updates to 1.1.0) --- www/lib/ionic/js/ionic.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'www/lib/ionic/js/ionic.js') diff --git a/www/lib/ionic/js/ionic.js b/www/lib/ionic/js/ionic.js index a11a85c0..eed0697e 100644 --- a/www/lib/ionic/js/ionic.js +++ b/www/lib/ionic/js/ionic.js @@ -2,7 +2,7 @@ * Copyright 2014 Drifty Co. * http://drifty.com/ * - * Ionic, v1.0.1 + * Ionic, v1.1.0 * A powerful HTML5 mobile app framework. * http://ionicframework.com/ * @@ -18,7 +18,7 @@ // build processes may have already created an ionic obj window.ionic = window.ionic || {}; window.ionic.views = {}; -window.ionic.version = '1.0.1'; +window.ionic.version = '1.1.0'; (function (ionic) { @@ -1778,8 +1778,8 @@ window.ionic.version = '1.0.1'; } else if (!this.preventedFirstMove && ev.srcEvent.type == 'touchmove') { // Prevent gestures that are not intended for this event handler from firing subsequent times - if (inst.options.prevent_default_directions.length === 0 - || inst.options.prevent_default_directions.indexOf(ev.direction) != -1) { + if (inst.options.prevent_default_directions.length > 0 + && inst.options.prevent_default_directions.indexOf(ev.direction) != -1) { ev.srcEvent.preventDefault(); } this.preventedFirstMove = true; @@ -8810,4 +8810,4 @@ ionic.views.Slider = ionic.views.View.inherit({ })(ionic); -})(); +})(); \ No newline at end of file -- cgit v1.2.3