Give the editor toolbox a CSS class.

This commit is contained in:
voussoir 2017-12-08 11:59:27 -08:00
parent 13803dc7f7
commit f69d9d409d

View file

@ -171,6 +171,7 @@ function Editor(elements, on_open, on_save, on_cancel)
var last_element = this.edit_elements[this.edit_elements.length - 1]; var last_element = this.edit_elements[this.edit_elements.length - 1];
var toolbox = document.createElement("div"); var toolbox = document.createElement("div");
toolbox.classList.add("editor_toolbox");
last_element.parentElement.insertBefore(toolbox, last_element.nextSibling); last_element.parentElement.insertBefore(toolbox, last_element.nextSibling);
this.open_button = document.createElement("button"); this.open_button = document.createElement("button");