git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 3b26cff7 authored by Mike Sheldon's avatar Mike Sheldon

Fix mixed tabs and spaces

parent 57c90447
...@@ -45,7 +45,7 @@ var base_url = base_url || ""; ...@@ -45,7 +45,7 @@ var base_url = base_url || "";
*/ */
function playerInit(list, ws, rk, stationurl, gnufm_key) { function playerInit(list, ws, rk, stationurl, gnufm_key) {
audio = document.getElementById("audio"); audio = document.getElementById("audio");
dlbutton = document.getElementById("dlbutton"); dlbutton = document.getElementById("dlbutton");
if (!list) { if (!list) {
// We're playing a stream instead of a playlist // We're playing a stream instead of a playlist
streaming = true; streaming = true;
...@@ -454,7 +454,7 @@ function loadSong(song) { ...@@ -454,7 +454,7 @@ function loadSong(song) {
scrobbled = false; scrobbled = false;
now_playing = false; now_playing = false;
audio.src = url; audio.src = url;
dlbutton.href = url; dlbutton.href = url;
audio.load(); audio.load();
if(streaming && current_song > playlist.length - 3) { if(streaming && current_song > playlist.length - 3) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment