Skip to content

Commit

Permalink
v3.15
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasniktel authored Jan 6, 2017
1 parent 4af60d6 commit 56feea5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions js/mpls.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ function saveFile() {
sendData+="array('name'=>'"+header+"','url'=>'"+url+"','image'=>'"+image+"'),";
}
sendData+=");";
if (sendData == '();')
alert('Вы не ввели ни одной станции.');
else {
if (sendData == '();' && !confirm('Вы не указали ни одной станции. Продолжить?'));
else
{
document.save.hidden.value = sendData;
document.save.submit();
}
Expand Down
8 changes: 4 additions & 4 deletions js/radioplayer.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// © 2015-2016 Vasniktel (Mez0_Teck)

var VERS = {
index:3.01,
index:3.2,
mpls:3.01,
lic:2.7,
css:2.9,
img:2.7,
js:3.14,
js:3.15,
icon:2.7
};

Expand Down Expand Up @@ -71,7 +71,7 @@ function count () {
countId = setTimeout('count()',1000);
}

if (typeof(playlist) == 'undefined') {
if (typeof(playlist) == 'undefined' || playlist.length == 0) {

if (confirm("Хотите добавить радиостанции в плеер?"))
document.location.href = 'mpls.html';
Expand All @@ -92,7 +92,7 @@ if (typeof(playlist) == 'undefined') {
else
doc += "<p><img src="+image+">&nbsp;<span name='head'>"+header+"</span>";
if (url === svUrl)
doc += "<br>&nbsp;&nbsp;&emsp;<a href='http://mypls.16mb.com/schedule/' target='_blank' class='link'><u>Розклад програм</u></a>";
doc += "<br>&nbsp;&emsp;<a href='http://vasniktel.pp.ua/mypls/schedule/' target='_blank' class='link'><u>Розклад програм</u></a>";
doc += "</p><button onclick='stream("+i+");'><span class='button'>СТАРТ</span></button>&nbsp;";
doc += "<button onclick='stop();'><span class='button'>СТОП</span></button><hr>";
doc += "</div>";
Expand Down

0 comments on commit 56feea5

Please sign in to comment.