Give the editor toolbox a CSS class.
This commit is contained in:
parent
13803dc7f7
commit
f69d9d409d
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue