editor: typo
This commit is contained in:
parent
e3231bd984
commit
90f0d17d00
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ var updateWidget = function(widget, options = {}) {
|
|||
|
||||
widget.container.replaceWith(newWidget.container)
|
||||
|
||||
if (data.type == 'tab') newWidget.parent.trigger('tab-created', [{widget: widget}])
|
||||
if (newWidget.props.type == 'tab') newWidget.parent.trigger('tab-created', [{widget: widget}])
|
||||
|
||||
$('.editor-root').attr('data-widget', $('.root-container').attr('data-widget'))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue