1
0
mirror of https://github.com/pattern-lab/patternlab-php.git synced 2025-01-16 21:58:19 +01:00

Merge branch 'dev-hotfix-fstop' into dev

This commit is contained in:
Dave Olsen 2014-06-03 11:40:41 -04:00
commit e315ecf04a

View File

@ -34,7 +34,7 @@ if (self != top) {
var target = this.getAttribute("target");
if ((target != undefined) && ((target == "_parent") || (target == "_blank"))) {
// just do normal stuff
} else if (href != "#") {
} else if (href.length && href !== "#") {
e.preventDefault();
window.location.replace(href);
} else {