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 1336453 commit 0b27e07Copy full SHA for 0b27e07
js/jquery.fileupload.js
@@ -1,5 +1,5 @@
1
/*
2
- * jQuery File Upload Plugin 5.11
+ * jQuery File Upload Plugin 5.11.1
3
* https://github.com/blueimp/jQuery-File-Upload
4
*
5
* Copyright 2010, Sebastian Tschan
@@ -185,7 +185,7 @@
185
],
186
187
_BitrateTimer: function () {
188
- this.timestamp = Date.now();
+ this.timestamp = +(new Date());
189
this.loaded = 0;
190
this.bitrate = 0;
191
this.getBitrate = function (now, loaded, interval) {
@@ -231,7 +231,7 @@
231
232
_onProgress: function (e, data) {
233
if (e.lengthComputable) {
234
- var now = Date.now(),
+ var now = +(new Date()),
235
total,
236
loaded;
237
if (data._time && data.progressInterval &&
0 commit comments