revert 525c3066be, it has nasty side effects, @{this} should be used anyway

This commit is contained in:
jean-emmanuel 2018-02-14 19:47:21 +01:00
parent 7e8cc500a6
commit 12ff42cfd9

View file

@ -239,8 +239,6 @@ class Widget extends EventEmitter {
}
if (id == this.getProp('id')) id = 'this'
var widgets = id == 'parent' && this.parent ?
[this.parent] : id == 'this' ? [this] :
widgetManager.getWidgetById(id)