Skip to content

Commit ff213bb

Browse files
authored
Update Sortable.js
[ FIX BUG ] fix error in angular server side render
1 parent ef63dfd commit ff213bb

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)