update gridstack.js
This commit is contained in:
parent
e7aad782d9
commit
80c60aca83
1 changed files with 2 additions and 1 deletions
|
|
@ -490,7 +490,8 @@
|
|||
};
|
||||
|
||||
GridStack.prototype.remove_widget = function (el) {
|
||||
var node = $(el).data('_gridstack_node');
|
||||
el = $(el);
|
||||
var node = el.data('_gridstack_node');
|
||||
this.grid.remove_node(node);
|
||||
el.remove();
|
||||
this._update_container_height();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue