Clean up.

This commit is contained in:
Don McCurdy 2019-01-08 10:21:00 -08:00
parent e17b91970c
commit d88f3bc8af

View File

@ -336,11 +336,7 @@ const GUI = function(pars) {
// Are we a root level GUI? // Are we a root level GUI?
if (common.isUndefined(params.parent)) { if (common.isUndefined(params.parent)) {
if (params.closed) { this.closed = params.closed || false;
this.closed = params.closed;
} else {
params.closed = false;
}
dom.addClass(this.domElement, GUI.CLASS_MAIN); dom.addClass(this.domElement, GUI.CLASS_MAIN);
dom.makeSelectable(this.domElement, false); dom.makeSelectable(this.domElement, false);