diff --git a/app/views/box_organizer/index.html.erb b/app/views/box_organizer/index.html.erb index ab1de1a..d17a26e 100644 --- a/app/views/box_organizer/index.html.erb +++ b/app/views/box_organizer/index.html.erb @@ -27,3 +27,5 @@
+ + diff --git a/public/javascripts/block-store.js b/public/javascripts/block-store.js index 36d3e57..0a4d077 100644 --- a/public/javascripts/block-store.js +++ b/public/javascripts/block-store.js @@ -12,8 +12,8 @@ function stopDragBlock() { $('.ui-draggable-dragging').removeClass('ui-draggable-dragging'); } -jQuery(document).ready(function($) { - var store = $('#block-store #block-types').slick({ +function initBlockStore() { + var store = jQuery('#block-store #block-types').slick({ infinite: true, dots: true, draggable: false, @@ -37,4 +37,5 @@ jQuery(document).ready(function($) { } ] }); -}); + jQuery('#block-store').show(); +} diff --git a/public/stylesheets/block-store.css b/public/stylesheets/block-store.css index d5c6c08..2fa6c21 100644 --- a/public/stylesheets/block-store.css +++ b/public/stylesheets/block-store.css @@ -27,6 +27,9 @@ /************************************************ * block store styles ************************************************/ +#block-store { + display: none; +} #content #block-store .block-type { position: relative; border: 0px solid #AAA; -- libgit2 0.21.2