In firefox, lookup is getting triggered when going back (left arrow) through content and doing lookup when it hits a space.
The issue was because e.which was 0
which was failing back to e.keyCode
which was 37
and String.fromCharCode(37) equaled our delimiter
which was a '%'
In firefox, lookup is getting triggered when going back (left arrow) through content and doing lookup when it hits a space. The issue was because e.which was 0 which was failing back to e.keyCode which was 37 and String.fromCharCode(37) equaled our delimiter which was a '%'