We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 751105c commit b5d220cCopy full SHA for b5d220c
1 file changed
public/styleguide/js/postmessage.js
@@ -29,7 +29,10 @@ if (self != top) {
29
for (a in aTags) {
30
aTags[a].onclick = function(e) {
31
e.preventDefault();
32
- window.location.replace(this.getAttribute("href"));
+ var href = this.getAttribute("href");
33
+ if (href != "#") {
34
+ window.location.replace(href);
35
+ }
36
};
37
}
38
0 commit comments