diff options
Diffstat (limited to 'www/lib/ionic/js/ionic.js')
| -rw-r--r-- | www/lib/ionic/js/ionic.js | 10 |
1 files changed, 5 insertions, 5 deletions
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 |
