1
0
Fork 0
Browse Source

removing unnecessary part from else if

master
IngridRegina 4 years ago
parent
commit
6ab19c819f
  1. 5
      script.js

5
script.js

@ -10,7 +10,7 @@ function update(){ @@ -10,7 +10,7 @@ function update(){
if (first == null) {
playing = 'Mitte munnigi ei mängi prg';
}
else if (first != null && first.artist != undefined) {
else if (first.artist != undefined) {
playing = first.artist + ' - ';
playing += first.title;
} else {
@ -55,9 +55,6 @@ function getFirstPlaying(jsonObj){ @@ -55,9 +55,6 @@ function getFirstPlaying(jsonObj){
var sources = jsonObj.icestats.source;
var masterStreams = [
'/live',
'/sai',
'/siinus',
'/viido'
]
for(o=0; o < sources.length; o++) {

Loading…
Cancel
Save