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