diff --git a/core/styleguide/js/postmessage.js b/core/styleguide/js/postmessage.js index 76457e8..115c85e 100644 --- a/core/styleguide/js/postmessage.js +++ b/core/styleguide/js/postmessage.js @@ -32,7 +32,7 @@ if (self != top) { aTags[i].onclick = function(e) { e.preventDefault(); var href = this.getAttribute("href"); - if (href != "#") { + if (href.length && href !== "#") { window.location.replace(href); } };