SHARE
TWEET

Untitled

a guest Dec 6th, 2019 127 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import * as $ from 'jquery'
  2.  
  3. $(document).ready(function() {
  4.   $('a[href="'+ location.pathname +'"]').addClass('active');
  5.     console.log(location.pathname)
  6. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top