summaryrefslogtreecommitdiffstats
path: root/pyload/web/app/scripts/helpers/linkStatus.js
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/web/app/scripts/helpers/linkStatus.js')
-rw-r--r--pyload/web/app/scripts/helpers/linkStatus.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/web/app/scripts/helpers/linkStatus.js b/pyload/web/app/scripts/helpers/linkStatus.js
index 2497785fb..448d63691 100644
--- a/pyload/web/app/scripts/helpers/linkStatus.js
+++ b/pyload/web/app/scripts/helpers/linkStatus.js
@@ -5,7 +5,7 @@ define('helpers/linkStatus', ['underscore', 'handlebars', 'utils/apitypes', 'uti
var s;
if (status === Api.DownloadStatus.Online)
s = '<span class="text-success">' + i18n.gettext('online') + '</span>';
- else if (status === Api.DownloadState.Offline)
+ else if (status === Api.DownloadStatus.Offline)
s = '<span class="text-error">' + i18n.gettext('offline') + '</span>';
else
s = '<span class="text-info">' + i18n.gettext('unknown') + '</span>';