diff --git a/release/js/ionic-angular.js b/release/js/ionic-angular.js index 57ecfbeaaf0..b901acc8913 100644 --- a/release/js/ionic-angular.js +++ b/release/js/ionic-angular.js @@ -238,7 +238,7 @@ jqLite.prototype.addClass = function(cssClasses) { el = this[x]; if (el.setAttribute) { - if (cssClasses.indexOf(' ') < 0 && el.classList.add) { + if (cssClasses.indexOf(' ') < 0 && el.classList && el.classList.add) { el.classList.add(cssClasses); } else { existingClasses = (' ' + (el.getAttribute('class') || '') + ' ') @@ -13335,4 +13335,4 @@ IonicModule }; }); -})(); \ No newline at end of file +})();