Explorar el Código

Correctly reset the url via clicks

Lucas Stadler %!s(int64=9) %!d(string=hace) años
padre
commit
c92fa70ee5
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      go/blog/blog.go

+ 2 - 0
go/blog/blog.go

@ -215,6 +215,8 @@ func main() {
215 215
			var tag = tagFromURL(new URL(ev.target.href));
216 216
			if (currentFilter == tag) {
217 217
				clearFilter();
218
				location.hash = "";
219
				ev.preventDefault();
218 220
			} else {
219 221
				filterTag(tag);
220 222
			}