Created
October 23, 2018 14:22
-
-
Save miyasinarafat/7e0a538d42346ce8e17b55124e7cb1b2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let url = window.location.href; | |
$('.nav li a[href="'+url+'"]').addClass('active'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment