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 ea7bf03 commit 04fb4ceCopy full SHA for 04fb4ce
src/gridstack.js
@@ -288,7 +288,6 @@
288
});
289
290
this.container.addClass(this.opts._class);
291
- this.set_animation(this.opts.animate);
292
this._styles = Utils.create_stylesheet();
293
this._styles._max = 0;
294
@@ -326,6 +325,8 @@
326
325
327
}
328
+ this.set_animation(this.opts.animate);
329
+
330
this.placeholder = $('<div class="' + this.opts.placeholder_class + ' ' + this.opts.item_class + '"><div class="placeholder-content" /></div>').hide();
331
this.container.append(this.placeholder);
332
this.container.height((this.grid.get_grid_height()) * (this.opts.cell_height + this.opts.vertical_margin) - this.opts.vertical_margin);
0 commit comments