From 24a1020d908c06e3bc9b844ffb447ca21bd80334 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sat, 18 Mar 2017 21:26:09 +0000 Subject: [PATCH] Compatibility: drop default values for loadTimes function parameters --- index.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/index.js b/index.js index 8d2d8fe..a558485 100644 --- a/index.js +++ b/index.js @@ -271,7 +271,7 @@ nav.className = nav.className.replace(' loading', ''); } -function loadTimes(stopId = null, clearRoute = false) { +function loadTimes(stopId, clearRoute) { if(!stopId) stopId = stop_id; if(!stopId) return; -- Gitblit v1.9.1