diff --git a/src/scripts/browse.tag b/src/scripts/browse.tag index c0326a8..93ad6d0 100644 --- a/src/scripts/browse.tag +++ b/src/scripts/browse.tag @@ -8,7 +8,7 @@
{ return ((ev) => { @@ -48,9 +49,14 @@ self.cardStyle = { self.filterCategories = (category) => { return ((ev) => { ev.preventDefault(); - return self.route(`browse/${category}`); - }); -}; + self.route(`browse/${category}`); + window.cached(`/blog/getbrowse/${category}/0`) + .then((resp) => { return resp.json() }) + .then((results) => { + self.update({"results" : results}); + }); + }) +}