Skip to content

Commit 4cfc0a4

Browse files
committed
gridster-resized - offsetHeight fix
1 parent b3d7be0 commit 4cfc0a4

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)