editor: typo

This commit is contained in:
jean-emmanuel 2018-01-12 19:57:20 +01:00
parent b4d78d87f4
commit 4b8e6edec9

View file

@ -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'))