You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Fix for select labelsthis.engine.on('click','[data-select]',()=>{conste=document.createEvent('MouseEvents');e.initMouseEvent('mousedown');this.engine.element().find(`[data-action='${this.dataset.select}']`).first().dispatchEvent(e);});
I'm guessing that the this inside the arrow function does not refer to the actual HTMLElement of the icon.
The text was updated successfully, but these errors were encountered:
When clicking on the arrow-icon
[data-select="set-language"]
of the language selection dropdown the action will break with:The erroneous code is this piece right here:
I'm guessing that the
this
inside the arrow function does not refer to the actual HTMLElement of the icon.The text was updated successfully, but these errors were encountered: