diff --git a/resources/static/pages/start.js b/resources/static/pages/start.js index 62f92b774bed66ebba614798c1d1303912b51670..fdcdcf2f644cdb65cf8b6e335d2192f728bbe3bb 100644 --- a/resources/static/pages/start.js +++ b/resources/static/pages/start.js @@ -155,6 +155,10 @@ $(function() { var module = bid.about.create(); module.start({}); } + else if (path === "/tos" || path === "/privacy") { + // do nothing. This prevents "unknown path" from being displayed to the + // user. + } else { // Instead of throwing a hard error here, adding a message to the console // to let developers know something is up.