add data-gs-animate attribute

This commit is contained in:
Pavel Reznikov 2014-12-04 20:56:12 -08:00
parent 4fed4cf215
commit ea7bf03e6b

View file

@ -284,7 +284,7 @@
min_width: 768,
float: false,
_class: 'grid-stack-' + (Math.random() * 10000).toFixed(0),
animate: false
animate: Boolean(this.container.attr('data-gs-animate')) || false
});
this.container.addClass(this.opts._class);