unlcms / UNL-CMS

Drupal 7 implementation at the University of Nebraska–Lincoln
http://unlcms.unl.edu/
GNU General Public License v2.0
4 stars 13 forks source link

Fix an issue where the base tag fix was not being applied if the current hash matched the link's hash #931

Closed mfairchild365 closed 7 years ago

mfairchild365 commented 7 years ago

Instead of setting document.location.hash or using e.preventDefault(), just change the event's href. This will work with skipnav too.

Tested in Chrome.