Improved www.ttss.krakow.pl
Jacek Kowalski
2017-04-15 5ac72e5919a4b8a64f3671c41712db586e5113e3
Fix for hints not being translated
1 files modified
8 ■■■■ changed files
index.js 8 ●●●● patch | view | raw | blame | history
index.js
@@ -325,16 +325,16 @@
    
    stop_name.setAttribute('placeholder', lang.stop_name_placeholder);
    
    if(stop_id) return;
    setText(page_title, lang.page_title);
    if(stop_name_autocomplete.value) {
        setText(refresh_text, lang.select_stop_click_go);
    } else {
        setText(refresh_text, lang.enter_stop_name_to_begin);
    }
    
    if(!stop_id) return;
    setText(page_title, lang.page_title);
    loadTimes();
    loadRoute();
}