editor: typo

This commit is contained in:
jean-emmanuel 2018-01-12 19:57:20 +01:00
parent e3231bd984
commit 90f0d17d00

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