Fire on keyup instead of mouseleave