diff --git a/src/gridstack.js b/src/gridstack.js index 1c7c3ce..002b493 100644 --- a/src/gridstack.js +++ b/src/gridstack.js @@ -326,6 +326,8 @@ var self = this; el = $(el); + el.addClass(this.opts.item_class); + var node = self.grid.add_node({ x: el.attr('data-gs-x'), y: el.attr('data-gs-y'),