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

Commit 1d88475

Browse files
committed
merged FStop change & fixed conflict
2 parents e3fdb3b + 09c2867 commit 1d88475

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 != "#") {
37+
} else if (href.length && href !== "#") {
3838
e.preventDefault();
3939
window.location.replace(href);
4040
} else {

0 commit comments

Comments
 (0)