Skip to content

Commit 8a587b6

Browse files
author
Miroslav Peterka
committed
event.target instead of this reference
1 parent 457c4b7 commit 8a587b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gridstack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@
11181118
self._updateContainerHeight();
11191119

11201120
if (event.type == 'resize') {
1121-
$(this).trigger('gsresize',node);
1121+
$(event.target).trigger('gsresize',node);
11221122
}
11231123
};
11241124

0 commit comments

Comments
 (0)