Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit a1c0057

Browse files
committed
another fix from @fStop
1 parent 28e7ebc commit a1c0057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/styleguide/js/postmessage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if (self != top) {
3434
var target = this.getAttribute("target");
3535
if ((target != undefined) && ((target == "_parent") || (target == "_blank"))) {
3636
// just do normal stuff
37-
} else if (href.length && href !== "#") {
37+
} else if (href && href !== "#") {
3838
e.preventDefault();
3939
window.location.replace(href);
4040
} else {

0 commit comments

Comments
 (0)