mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-16 01:47:30 +01:00
fix upload progress comparison (#122)
This commit is contained in:
@@ -1853,7 +1853,7 @@ var SpacedeckSections = {
|
|||||||
// upload progress
|
// upload progress
|
||||||
var progress = e.loaded/e.total;
|
var progress = e.loaded/e.total;
|
||||||
|
|
||||||
if (progress=1) {
|
if (progress===1) {
|
||||||
a.description = "Converting Media…";
|
a.description = "Converting Media…";
|
||||||
} else {
|
} else {
|
||||||
a.description = "Upload "+parseInt(progress*100)+"%";
|
a.description = "Upload "+parseInt(progress*100)+"%";
|
||||||
|
|||||||
Reference in New Issue
Block a user