We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 60ea3217 authored by Jonas Haraldsson's avatar Jonas Haraldsson

remove() instead of replaceWith("")

parent 254a57ab
......@@ -59,7 +59,7 @@ function playerInit(list, sk, ws, rk) {
}
return;
}
$("#fallbackembed").replaceWith(""); // Get rid of the fallback embed, otherwise some html5 browsers will play it in addition to the js player
$("#fallbackembed").remove(); // Get rid of the fallback embed, otherwise some html5 browsers will play it in addition to the js player
if (streaming) {
// Get playlist from radio service
getRadioPlaylist();
......
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