editor: typo
This commit is contained in:
parent
b4d78d87f4
commit
4b8e6edec9
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