diff --git a/public/styleguide/js/postmessage.js b/public/styleguide/js/postmessage.js index 4def0c9..e1e6293 100644 --- a/public/styleguide/js/postmessage.js +++ b/public/styleguide/js/postmessage.js @@ -31,7 +31,10 @@ if (self != top) { for (var i = 0; i < aTags.length; i++) { aTags[i].onclick = function(e) { e.preventDefault(); - window.location.replace(this.getAttribute("href")+'?'+Date.now()); + var href = this.getAttribute("href"); + if (href != "#") { + window.location.replace(href); + } }; }