diff --git a/public/res/layout.js b/public/res/layout.js index 03916862..7d7b3165 100644 --- a/public/res/layout.js +++ b/public/res/layout.js @@ -551,8 +551,9 @@ define([ var buttonsInitialCoord; previewButtons.hammer.on('dragstart', function() { + previewButtons.isOpen = true; previewButtons.isDragged = true; - previewButtons.$elt.removeClass('animate'); + previewButtons.$elt.removeClass('closed animate'); wrapperL2.$elt.addClass('dragging'); buttonsInitialCoord = { x: previewButtons.x,