Skip to content
Snippets Groups Projects
Commit d93a9353 authored by Shane Tomlinson's avatar Shane Tomlinson
Browse files

Prevent the "unknown path" console message from being displayed on the "/tos",...

Prevent the "unknown path" console message from being displayed on the "/tos", "/privacy", and "/about" pages.

issue #1518
parent 52986818
No related branches found
No related tags found
No related merge requests found
......@@ -151,6 +151,10 @@ $(function() {
verifyFunction: "verifyUser"
});
}
else if(path === "/about" || 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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment