Commit 042340a6 authored by Ryan Herbert's avatar Ryan Herbert

builder.js fix left container toggle.

Using the jQuery method "toggle" will force a display block on a div, so
we need to do it this way to preserve flex.
I would have prefered to not have to explicitely name the flex
parameter, but it will be necessary when we introduce media queries.
parent 2cde51d1
......@@ -406,7 +406,12 @@ Builder.prototype = {
toggle_left_container: function () {
var $left = $("#left-container")
var val = 'none';
if ($left.css('display') === "none") {
val = 'flex';
$left.css('display', val);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment