From 998e30d5b29225731978b04fd0a25dffcec7bc33 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 31 May 2018 08:29:16 +0400 Subject: Renamed variable Signed-off-by: Valentin Popov --- assets/javascript/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assets/javascript/script.js') diff --git a/assets/javascript/script.js b/assets/javascript/script.js index ac59acb..28da8ce 100644 --- a/assets/javascript/script.js +++ b/assets/javascript/script.js @@ -1,8 +1,8 @@ 'use strict'; var client = new XMLHttpRequest(); -var radio = findGetParameter('radio'); -var url = '//somafm.com/songs/' + radio + '.xml'; +var channel = findGetParameter('channel'); +var url = '//somafm.com/songs/' + channel + '.xml'; /* Processes response */ client.onload = function () { -- cgit v1.2.3