提交 1a0e0aa8 编写于 作者: L Lebedev Konstantin 提交者: GitHub

Merge pull request #923 from Rendalf/IE11-Pointer-Events

IE-11 pointer events
......@@ -72,6 +72,10 @@
supportDraggable = !!('draggable' in document.createElement('div')),
supportCssPointerEvents = (function (el) {
// false when IE11
if (!!navigator.userAgent.match(/Trident.*rv[ :]?11\./)) {
return false;
}
el = document.createElement('x');
el.style.cssText = 'pointer-events:auto';
return el.style.pointerEvents === 'auto';
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册