There seems to be a bug in the keyup event handler that I only noticed in IE (other browsers seem to ignore this error).
It happens when I backspace tags:
_"pasteMetaKeyPress is undefined".
It looks like this is the problematic code:
this.input.keyup(function (e) {
if (_pasteMetaKeyPressed && (e.which == 91 || e.which == 86))
$(this).blur();
// timeout for the fast copy pasters
window.setTimeout(function () {
_pasteMetaKeyPressed = e.metaKey;
}, 250);
});
Since _pasteMetaKeyPressed is a member of the "self" variable", It can be fixed like this:
this.input.keyup(function (e) {
if (self._pasteMetaKeyPressed && (e.which == 91 || e.which == 86))
$(this).blur();
// timeout for the fast copy pasters
window.setTimeout(function () {
self._pasteMetaKeyPressed = e.metaKey;
}, 250);
});
There seems to be a bug in the keyup event handler that I only noticed in IE (other browsers seem to ignore this error). It happens when I backspace tags:
_"pasteMetaKeyPress is undefined".
It looks like this is the problematic code:
Since _pasteMetaKeyPressed is a member of the "self" variable", It can be fixed like this: