editor: remove unused element

This commit is contained in:
jean-emmanuel 2018-04-05 22:41:30 +02:00
parent 64860e04e9
commit b69f99dd9a

View file

@ -19,9 +19,6 @@ var Editor = class Editor {
this.defaults[k] = widgets[k].defaults()
}
this.selection = DOM.create('<div id="editor-selection"></div>')
document.body.appendChild(this.selection)
this.selectedWidgets = []
this.clipboard = null
@ -116,8 +113,6 @@ var Editor = class Editor {
$('.widget.ui-resizable').resizable('destroy')
$('.widget.ui-draggable').draggable('destroy').find('.ui-draggable-handle').remove()
this.selection.style.display = 'none'
}
select(widget, options={}){