Move id attribute to outer div to hide the result component completely

This will allow the other non-hidden components to properly reflow on the page.
This commit is contained in:
Mike Bronner 2015-10-10 09:22:53 -07:00
parent 97216b0f41
commit 8845fe63d9

View file

@ -108,8 +108,8 @@ var Build = Class.extend({
output = $('<div class="box-body"></div>').append(output);
}
var container = $('<div></div>').addClass('ui-plugin ' + plugin.css);
var content = $('<div></div>').attr('id', plugin.id).append(output);
var container = $('<div></div>').addClass('ui-plugin ' + plugin.css).attr('id', plugin.id);
var content = $('<div></div>').append(output);
content.addClass('box box-default');
if (plugin.title) {
@ -145,4 +145,4 @@ var Build = Class.extend({
}
})
});
});