diff options
Diffstat (limited to '_layouts/master.html')
-rw-r--r-- | _layouts/master.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/_layouts/master.html b/_layouts/master.html index f1789a4..df9f165 100644 --- a/_layouts/master.html +++ b/_layouts/master.html @@ -135,7 +135,9 @@ var es = document.getElementsByTagName('a'); for (var i = 0; i < es.length; i++) { es[i].addEventListener('touchstart', function() { - window.location.href = this.href; + if (this.href !== window.location.href) { + window.location.href = this.href; + } }); } } |