wrong comparision fixed
gitea/salix/dev This commit looks good Details

This commit is contained in:
Gerard 2019-02-26 17:34:25 +01:00
parent 60ec49abbd
commit fd1e380d7a
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,8 @@ export default class Controller extends Component {
}); });
element.addEventListener('focusout', event => { element.addEventListener('focusout', event => {
if (this.field || this.disabled) return; if (!this.field || this.disabled) return;
// this.destroyTimer();
this.lastEvent = event; this.lastEvent = event;
let target = event.relatedTarget; let target = event.relatedTarget;
while (target && target != element) while (target && target != element)