Improved www.ttss.krakow.pl
Jacek Kowalski
2017-04-12 8f89f0c968c2301eb75c129ecc285781443d6c39
Set initial stop_id to empty string to avoid undefined after #! in URL
1 files modified
2 ■■■ changed files
index.js 2 ●●● patch | view | raw | blame | history
index.js
@@ -8,7 +8,7 @@
var language = 'en';
var lang_select = document.getElementById('lang-select');
var stop_id;
var stop_id = '';
var stop_name = document.getElementById('stop-name');
var stop_name_form = stop_name.form;
var stop_name_autocomplete = document.getElementById('stop-name-autocomplete');