Commit 7717bd96 authored by Jonas Haraldsson's avatar Jonas Haraldsson

remove() instead of replaceWith("")

parent 42f0a16d
......@@ -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