mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-10 01:42:32 +00:00
Make selecting a search result work
This commit is contained in:
parent
f60a5e326e
commit
f5b4023c91
1 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,9 @@ var WezM = {
|
|||
|
||||
});
|
||||
},
|
||||
_searchItemSelected: function() {},
|
||||
_searchItemSelected: function(article) {
|
||||
document.location.href = article.path;
|
||||
},
|
||||
_renderArticle: function(o) {
|
||||
return '<li>\n\
|
||||
<abbr class="calender date" title="' + (Mojo.escape(Mojo.normalize(o.date))) + '">\n\
|
||||
|
|
Loading…
Reference in a new issue