1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00

fix navbar

This commit is contained in:
daniel 2019-01-10 23:25:04 -03:00
parent 4ba25faab0
commit 656bbbb264

View file

@ -147,7 +147,8 @@ $(document).ready(function () {
});
$("a").each(function () {
var res = window.location.split("?");
var location = window.location.toString()
var res = location.split("?");
pathWitoutGet = res[0];
if ($(this).attr("href") == window.location.pathname
|| $(this).attr("href") == window.location