diff --git a/src/modal/modal.js b/src/modal/modal.js index 3393fb3..a762c61 100644 --- a/src/modal/modal.js +++ b/src/modal/modal.js @@ -242,7 +242,7 @@ angular.module('mm.foundation.modal', ['mm.foundation.transition']) // Create a faux modal div just to measure its // distance to top - var faux = angular.element('
'); + var faux = angular.element('
'); parent.append(faux[0]); cssTop = parseInt($window.getComputedStyle(faux[0]).top) || 0; var openAt = calculateModalTop(faux, cssTop);