summaryrefslogtreecommitdiffstats
path: root/deluge/ui/web/js/deluge-all/CopyMagnetWindow.js
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/ui/web/js/deluge-all/CopyMagnetWindow.js')
-rw-r--r--deluge/ui/web/js/deluge-all/CopyMagnetWindow.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/web/js/deluge-all/CopyMagnetWindow.js b/deluge/ui/web/js/deluge-all/CopyMagnetWindow.js
index 3e0cc9464..ddcd4abf9 100644
--- a/deluge/ui/web/js/deluge-all/CopyMagnetWindow.js
+++ b/deluge/ui/web/js/deluge-all/CopyMagnetWindow.js
@@ -51,7 +51,7 @@ Deluge.CopyMagnet = Ext.extend(Ext.Window, {
},
show: function (a) {
Deluge.CopyMagnet.superclass.show.call(this);
- const torrent = deluge.torrents.getSelected();
+ var torrent = deluge.torrents.getSelected();
deluge.client.core.get_magnet_uri(torrent.id, {
success: this.onRequestComplete,
scope: this,