|
@ -26,8 +26,8 @@ function update() { |
|
|
|
|
|
|
|
|
filterSelection("all") |
|
|
filterSelection("all") |
|
|
function filterSelection(c) { |
|
|
function filterSelection(c) { |
|
|
var x, i; |
|
|
var i; |
|
|
allpublications = document.getElementsByClassName("filter"); |
|
|
var allpublications = document.getElementsByClassName("filter"); |
|
|
if (c == "all") { |
|
|
if (c == "all") { |
|
|
for (i = 0; i < allpublications.length; i++) { |
|
|
for (i = 0; i < allpublications.length; i++) { |
|
|
addClass(allpublications[i], "show"); |
|
|
addClass(allpublications[i], "show"); |
|
|