We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6487f91 commit 17edf41Copy full SHA for 17edf41
src/GridLayout.vue
@@ -229,7 +229,7 @@
229
//console.log(eventName + " id=" + id + ", x=" + x + ", y=" + y);
230
var l = getLayoutItem(this.layout, id);
231
//GetLayoutItem sometimes returns null object
232
- if (l === null){
+ if (l === undefined || l === null){
233
l = {x:0, y:0}
234
}
235
l.x = x;
@@ -261,7 +261,7 @@
261
262
263
//GetLayoutItem sometimes return null object
264
265
l = {h:0, w:0}
266
267
l.h = h;
0 commit comments