remove mousedown event handler after blur

This commit is contained in:
bordun 2016-02-25 09:02:07 +01:00
parent f6bb9299ad
commit 7b2e9bc8b6

View file

@ -68,6 +68,7 @@
i.blur(function(){
self.attr('tabindex','0')
i.remove()
$(document).off('mousedown.fakeInput touchstart.fakeInput')
})
$(document).on('mousedown.fakeInput touchstart.fakeInput',function(){
i.blur()