fauzanjeg

Change Link of Login/Register Button

Dec 23rd, 2021 (edited)
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.43 KB | None | 0 0
  1. /* Change Link of Login/Register Button */
  2. (function($) {
  3.     $(document).on('ready', function() {
  4.         var accountLink = $('.jeg_accountlink').find('li')
  5.         accountLink.find('.jeg_popuplink').off()
  6.         $(accountLink[0]).find('a.jeg_popuplink').attr('href', 'https://staging.lawanstroke.com/login/') /* Login */
  7.         $(accountLink[1]).find('a.jeg_popuplink').attr('href', 'https://staging.lawanstroke.com/register/') /* Register */
  8.     })
  9. })(jQuery)
Add Comment
Please, Sign In to add comment