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 d4f3b5b commit 57d2292Copy full SHA for 57d2292
js/jquery.fileupload.js
@@ -1,5 +1,5 @@
1
/*
2
- * jQuery File Upload Plugin 5.28.3
+ * jQuery File Upload Plugin 5.28.4
3
* https://github.com/blueimp/jQuery-File-Upload
4
*
5
* Copyright 2010, Sebastian Tschan
@@ -215,7 +215,7 @@
215
],
216
217
_BitrateTimer: function () {
218
- this.timestamp = +(new Date());
+ this.timestamp = (new Date()).getTime();
219
this.loaded = 0;
220
this.bitrate = 0;
221
this.getBitrate = function (now, loaded, interval) {
@@ -289,7 +289,7 @@
289
290
_onProgress: function (e, data) {
291
if (e.lengthComputable) {
292
- var now = +(new Date()),
+ var now = (new Date()).getTime(),
293
loaded;
294
if (data._time && data.progressInterval &&
295
(now - data._time < data.progressInterval) &&
0 commit comments