Skip to content

Commit 822e54d

Browse files
authored
Merge pull request #1528 from Aitthi/patch-1
fix: error in angular server side render
2 parents 2ae403a + ff213bb commit 822e54d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sortable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ function Sortable(el, options) {
362362
dataIdAttr: 'data-id',
363363
delay: 0,
364364
delayOnTouchOnly: false,
365-
touchStartThreshold: parseInt(window.devicePixelRatio, 10) || 1,
365+
touchStartThreshold: Number.parseInt(window.devicePixelRatio, 10) || 1,
366366
forceFallback: false,
367367
fallbackClass: 'sortable-fallback',
368368
fallbackOnBody: false,

0 commit comments

Comments
 (0)