diff options
author | Git <git@what.cd> | 2012-12-08 08:00:16 +0000 |
---|---|---|
committer | Git <git@what.cd> | 2012-12-08 08:00:16 +0000 |
commit | 894fdf2d12ea28efe25c4656c65cde26e04f52b3 (patch) | |
tree | d6eaa8b8c2e1b6721b43e277720602d39f117829 /static/functions/browse.js | |
parent | 12e94c73469491891a03bc40b88ed4ca5ada2a91 (diff) | |
download | Gazelle-894fdf2d12ea28efe25c4656c65cde26e04f52b3.zip Gazelle-894fdf2d12ea28efe25c4656c65cde26e04f52b3.tar.gz Gazelle-894fdf2d12ea28efe25c4656c65cde26e04f52b3.tar.bz2 |
Empty commit
Diffstat (limited to 'static/functions/browse.js')
-rw-r--r-- | static/functions/browse.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/static/functions/browse.js b/static/functions/browse.js index e58ced1..ea6b8c4 100644 --- a/static/functions/browse.js +++ b/static/functions/browse.js @@ -92,7 +92,8 @@ function show_spectrals (TorrentID){ $('#spectrals_' + TorrentID).toggle(); ajax.get('http://archive.org/~abuie/spectral.php?q=' + TorrentID,function(response){ var json = JSON.parse(response); - var html = ""; + html = "<br /> <strong>Loading...</strong>" + $('#spectrals_' + TorrentID).show().raw().innerHTML=html; if(json['status']['state'] == 'success') { for (var i = 0; i < json['count']; i++) { html += "<img src='" + json['files'][i] + "' alt='" + json['files'][i] + "' style='max-width:440px;' onclick='lightbox.init(\""+json['files'][i] + "\", 440);'></a>"; |