Skip to content

Commit 71b4ce3

Browse files
committed
Merge pull request #227 from SSchaaf/patch-1
gridster-resized - offsetHeight fix
2 parents b3d7be0 + 4cfc0a4 commit 71b4ce3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/angular-gridster.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@
992992
$elem.addClass('gridster-loaded');
993993
}
994994

995-
scope.$parent.$broadcast('gridster-resized', [width, $elem.offsetHeight]);
995+
scope.$parent.$broadcast('gridster-resized', [width, $elem[0].offsetHeight]);
996996
}
997997

998998
// track element width changes any way we can

0 commit comments

Comments
 (0)