Reset dropdown list when clicking filter input
This commit is contained in:
parent
45a2f9009b
commit
2886f1d458
|
@ -56,10 +56,12 @@ require('../window')(function(w){
|
||||||
|
|
||||||
this.hookInput = hookInput;
|
this.hookInput = hookInput;
|
||||||
this.hookInput.trigger.addEventListener('keyup.dl', this.keydownWrapper);
|
this.hookInput.trigger.addEventListener('keyup.dl', this.keydownWrapper);
|
||||||
|
this.hookInput.trigger.addEventListener('mousedown.dl', this.keydownWrapper);
|
||||||
},
|
},
|
||||||
|
|
||||||
destroy: function destroy(){
|
destroy: function destroy(){
|
||||||
this.hookInput.trigger.removeEventListener('keyup.dl', this.keydownWrapper);
|
this.hookInput.trigger.removeEventListener('keyup.dl', this.keydownWrapper);
|
||||||
|
this.hookInput.trigger.removeEventListener('mousedown.dl', this.keydownWrapper);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue