If caller wanted to iterate over all et2_widgets (default), include all Et2Widgets as well

This commit is contained in:
nathan 2022-05-02 17:41:35 -06:00
parent cff1671f6f
commit bbb6444dce

View File

@ -784,7 +784,7 @@ const Et2WidgetMixin = (superClass) =>
iterateOver(_callback : Function, _context, _type)
{
if(typeof _type == "undefined" || et2_implements_registry[_type] && et2_implements_registry[_type](this))
if(typeof _type == "undefined" || _type == et2_widget || et2_implements_registry[_type] && et2_implements_registry[_type](this))
{
_callback.call(_context, this);
}