add item class
This commit is contained in:
parent
7aeafad811
commit
60c2f0af71
1 changed files with 2 additions and 0 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue