summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-12-08 03:55:34 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-12-08 03:55:34 (GMT)
commitd05bc53fd630baaba0f1cf28c5a6396ff9fab7f0 (patch)
treee0dc91facca263a4be2f9aebedee10bf78cfceb0 /www
parent852558ff30ed71b337e35b3cf585f1cba785455e (diff)
display specials (Sondersendung) in show selector as well
Diffstat (limited to 'www')
-rw-r--r--www/js/shows.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/js/shows.js b/www/js/shows.js
index c76d173..8a83057 100644
--- a/www/js/shows.js
+++ b/www/js/shows.js
@@ -101,10 +101,14 @@ Rdxport.ShowListView.prototype.updateSelector = function() {
var atitle = a.title.toLowerCase();
if(a.type == "r") {
atitle += " (Wiederholung)";
+ } else if(a.type == 's') {
+ atitle += " (Sondersendung)";
}
var btitle = b.title.toLowerCase();
if(b.type == "r") {
btitle += " (Wiederholung)";
+ } else if(b.type == 's') {
+ btitle += " (Sondersendung)";
}
if(atitle == btitle) {
if(b.rhythm == a.rhythm) {
@@ -127,6 +131,8 @@ Rdxport.ShowListView.prototype.updateSelector = function() {
var title = show.title;
if(show.type == "r") {
title += " (Wiederholung)";
+ } else if(show.type == 's') {
+ title += " (Sondersendung)";
}
var name = show.id + ' | <strong>' + title + '</strong> (' + show.rhythm + ', ' + weekday[show.dayofweek] + ', ' + show.starttime + ', ' + (show.length == 0 ? '-' : show.length) + ' Min.)';
var link = $('<a>').attr('href', '#').html(name).click(function() {