We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 607c472 commit 5344a23Copy full SHA for 5344a23
src/nouislider.ts
@@ -424,13 +424,13 @@ function getPageOffset(doc: Document): PageOffset {
424
function getActions(): { start: string; move: string; end: string } {
425
// Determine the events to bind. IE11 implements pointerEvents without
426
// a prefix, which breaks compatibility with the IE10 implementation.
427
- return window.navigator.pointerEnabled
+ return (window.navigator as any).pointerEnabled
428
? {
429
start: "pointerdown",
430
move: "pointermove",
431
end: "pointerup"
432
}
433
- : window.navigator.msPointerEnabled
+ : (window.navigator as any).msPointerEnabled
434
435
start: "MSPointerDown",
436
move: "MSPointerMove",
0 commit comments