Commit 9cb398fe authored by Oleg Korshul's avatar Oleg Korshul

ie emulate keyboard event prevent hack

parent 148aae94
......@@ -590,6 +590,13 @@
}
});
if (AscCommon.AscBrowser.isIE)
{
oEvent.preventDefault = function () {
Object.defineProperty(this, "defaultPrevented", {get: function () {return true;}});
};
}
var k = e.keyCode;
if (oEvent.initKeyboardEvent)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment