editor: remove unused element
This commit is contained in:
parent
84a80acd4c
commit
7a75dd920d
1 changed files with 0 additions and 5 deletions
|
|
@ -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={}){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue