Skip to content

Commit a6ed5f4

Browse files
authored
Declare elementBoundRect as var
Fixes #225
1 parent 3f468f4 commit a6ed5f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/js/html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@
708708
if (se === ee) {
709709

710710
// Check to see if there's any background at all
711-
elementBoundingRect = se.node.getBoundingClientRect();
711+
var elementBoundingRect = se.node.getBoundingClientRect();
712712

713713
if (elementBoundingRect.width == 0 || elementBoundingRect.height == 0) {
714714

0 commit comments

Comments
 (0)