From 8845fe63d9594e7c0ae9e865f6514870de8aab56 Mon Sep 17 00:00:00 2001 From: Mike Bronner Date: Sat, 10 Oct 2015 09:22:53 -0700 Subject: [PATCH] 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. --- public/assets/js/build.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/assets/js/build.js b/public/assets/js/build.js index 0b1d95dc..c8bf588a 100644 --- a/public/assets/js/build.js +++ b/public/assets/js/build.js @@ -108,8 +108,8 @@ var Build = Class.extend({ output = $('
').append(output); } - var container = $('
').addClass('ui-plugin ' + plugin.css); - var content = $('
').attr('id', plugin.id).append(output); + var container = $('
').addClass('ui-plugin ' + plugin.css).attr('id', plugin.id); + var content = $('
').append(output); content.addClass('box box-default'); if (plugin.title) { @@ -145,4 +145,4 @@ var Build = Class.extend({ } }) -}); \ No newline at end of file +});