mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
fix navbar
This commit is contained in:
parent
4ba25faab0
commit
656bbbb264
1 changed files with 2 additions and 1 deletions
|
@ -147,7 +147,8 @@ $(document).ready(function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
$("a").each(function () {
|
$("a").each(function () {
|
||||||
var res = window.location.split("?");
|
var location = window.location.toString()
|
||||||
|
var res = location.split("?");
|
||||||
pathWitoutGet = res[0];
|
pathWitoutGet = res[0];
|
||||||
if ($(this).attr("href") == window.location.pathname
|
if ($(this).attr("href") == window.location.pathname
|
||||||
|| $(this).attr("href") == window.location
|
|| $(this).attr("href") == window.location
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue