diff --git a/src/definitions/modules/modal.js b/src/definitions/modules/modal.js index 0910750765..26b2f78e77 100755 --- a/src/definitions/modules/modal.js +++ b/src/definitions/modules/modal.js @@ -851,7 +851,6 @@ }, cacheSizes: function () { - $module.addClass(className.loading); var scrollHeight = $module.prop('scrollHeight'); var modalWidth = $module.outerWidth(); var modalHeight = $module.outerHeight(); @@ -867,7 +866,6 @@ }); module.cache.topOffset = -(module.cache.height / 2); } - $module.removeClass(className.loading); module.debug('Caching modal and container sizes', module.cache); }, helpers: { @@ -1394,7 +1392,6 @@ blurring: 'blurring', inverted: 'inverted', legacy: 'legacy', - loading: 'loading', scrolling: 'scrolling', undetached: 'undetached', front: 'front',