Don't compact grid on first load with query
This commit is contained in:
parent
f46b6cd2f6
commit
95f00eface
|
@ -101,7 +101,7 @@
|
|||
var grid = document.getElementById("grid-stack-main").gridstack;
|
||||
grid.addWidget(contents.innerHTML);
|
||||
contents.outerHTML = "";
|
||||
grid.compact();
|
||||
//grid.compact();
|
||||
// because we remove the element the JS runs in
|
||||
// so we need to run it again here
|
||||
// initTabs("{{ unique }}");
|
||||
|
|
Loading…
Reference in New Issue