Reset dropdown list when clicking filter input

This commit is contained in:
Alfredo Sumaran 2017-03-21 20:06:52 -05:00
parent 45a2f9009b
commit 2886f1d458
1 changed files with 2 additions and 0 deletions

View File

@ -56,10 +56,12 @@ require('../window')(function(w){
this.hookInput = hookInput;
this.hookInput.trigger.addEventListener('keyup.dl', this.keydownWrapper);
this.hookInput.trigger.addEventListener('mousedown.dl', this.keydownWrapper);
},
destroy: function destroy(){
this.hookInput.trigger.removeEventListener('keyup.dl', this.keydownWrapper);
this.hookInput.trigger.removeEventListener('mousedown.dl', this.keydownWrapper);
}
};
});