Improved www.ttss.krakow.pl
Jacek Kowalski
2017-03-18 707215c2ff965b21ad8eca04a9b694dc83f2da53
Remove unused function declinate()
1 files modified
5 ■■■■■ changed files
index.js 5 ●●●●● patch | view | raw | blame | history
index.js
@@ -393,11 +393,6 @@
    }).fail(fail_ajax).always(loading_end);
}
function declinate(num, singular, plural) {
    if(num == 1) return num + ' ' + singular;
    return num + ' ' + plural;
}
function startTimer(date) {
    if(date) {
        setText(refresh_text, lang.last_refreshed.replace('$time', lang.time_now));