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 2a4689c commit 5c2a690Copy full SHA for 5c2a690
src/plugins/rangeSliderFox/mvc/view/Resize.ts
@@ -33,7 +33,7 @@ class Resize {
33
34
@boundMethod
35
private resizeEnd() {
36
- const timeInterval = Number(new Date()) - Number(this.currentTime);
+ const timeInterval = new Date().getTime() - this.currentTime.getTime();
37
38
if (timeInterval < this.sleep) {
39
setTimeout(this.resizeEnd, this.sleep);
0 commit comments