Skip to content

Commit

Permalink
fix menu Project highlight when on comic page
Browse files Browse the repository at this point in the history
  • Loading branch information
socraticDevBlog committed Jul 25, 2021
1 parent f4d6574 commit 3d68446
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dailybuild-comic.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<title>dailybuild comic;#dailybuild</title>
</sergey-import>
<div style="background-color: black;">
<div class="row slider-text align-items-center justify-content-center" style="padding-top: 80px;"></div>
<div class="project row slider-text align-items-center justify-content-center" style="padding-top: 80px;"></div>
<div class="row">
<div class="col-lg-4 col-md-4 col-xs-6 thumb mt-5">
<a href="images/jemar.png" data-fancybox="images" data-width="800" data-height="500" data-caption="" class="fancybox" rel="ligthbox" title="Jemar - secret lake">
Expand Down
2 changes: 1 addition & 1 deletion dpro-comic.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<title>dpro comic;#dailybuild</title>
</sergey-import>
<div style="background-color: black;">
<div id="dpro-comic" class="slider-item">
<div id="dpro-comic" class="slider-item project">
<div class="row slider-text align-items-center justify-content-center" style="padding-top: 80px;">
<div id="dpro-comic" class="container">
<div class="row pt-5">
Expand Down
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
$(".nav-link").removeClass("active");
$("#blog-not-link").addClass("active");
$("#about-link").attr("href", "tekdude.html#aboutSection");
} else if ($("#dpro-comic").length === 1) {
} else if ($(".project").length === 1) {
console.log('no??');
$(".nav-link").removeClass("active");
$("#project-link").addClass("active");
Expand Down

0 comments on commit 3d68446

Please sign in to comment.