Skip to content

Commit fe75e76

Browse files
committed
fix(modal): Fix duplicate quote in faux modal HTML
1 parent 1f83997 commit fe75e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modal/modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ angular.module('mm.foundation.modal', ['mm.foundation.transition'])
242242

243243
// Create a faux modal div just to measure its
244244
// distance to top
245-
var faux = angular.element('<div class="reveal-modal" style="z-index:-1""></div>');
245+
var faux = angular.element('<div class="reveal-modal" style="z-index:-1"></div>');
246246
parent.append(faux[0]);
247247
cssTop = parseInt($window.getComputedStyle(faux[0]).top) || 0;
248248
var openAt = calculateModalTop(faux, cssTop);

0 commit comments

Comments
 (0)