Commit 1c6aedb9 authored by JoyJ's avatar JoyJ

finish tag search

parent 048e28da
......@@ -93,8 +93,7 @@
}
function onSearch(e) {
console.log('triggered search');
console.log(e.detail.text);
searchTag("tag=" + encodeURIComponent(e.detail.text));
}
</script>
......
......@@ -16,7 +16,7 @@
function searchByTag(e) {
console.log(e);
raiseEvent('search', {
text: e.target
text: e.target.innerHTML
});
}
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment