Skip to content
Snippets Groups Projects
Commit 917ecda7 authored by Vermaat's avatar Vermaat
Browse files

Fix active menu highlighting on HTTPS

parent ed8d8c45
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ function initActive() {
var winLoc;
winLoc = window.location.href;
winLoc = winLoc.replace(/http:\/\/[^\/]*\//, "");
winLoc = winLoc.replace(/https?:\/\/[^\/]*\//, "");
if (winLoc.match("~"))
winLoc = winLoc.replace(/[^\/]*\//, "");
......
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