Fix #422, update to 0.2.7-dev.

This commit is contained in:
Dylan Weiss 2016-08-17 10:36:51 -04:00
commit ceef60d356
5 changed files with 18 additions and 11 deletions

View file

@ -1,5 +1,5 @@
/**
* gridstack.js 0.2.6-dev
* gridstack.js 0.2.7-dev
* http://troolee.github.io/gridstack.js/
* (c) 2014-2016 Pavel Reznikov
* gridstack.js may be freely distributed under the MIT license.
@ -1244,6 +1244,7 @@
this.disable();
if (typeof detachGrid != 'undefined' && !detachGrid) {
this.removeAll(false);
this.container.removeData('gridstack');
} else {
this.container.remove();
}