Explorar el Código

Correctly reset the url via clicks

Lucas Stadler %!s(int64=10) %!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
			var tag = tagFromURL(new URL(ev.target.href));
215
			var tag = tagFromURL(new URL(ev.target.href));
216
			if (currentFilter == tag) {
216
			if (currentFilter == tag) {
217
				clearFilter();
217
				clearFilter();
218
				location.hash = "";
219
				ev.preventDefault();
218
			} else {
220
			} else {
219
				filterTag(tag);
221
				filterTag(tag);
220
			}
222
			}