From 8f89f0c968c2301eb75c129ecc285781443d6c39 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Wed, 12 Apr 2017 21:36:23 +0000
Subject: [PATCH] Set initial stop_id to empty string to avoid undefined after #! in URL

---
 index.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/index.js b/index.js
index 04e285b..8a13dcc 100644
--- a/index.js
+++ b/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');

--
Gitblit v1.9.1