Loading static/components/pieces/SearchBar.js +4 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,10 @@ export default { placeholder: "Songs oder Interpreten suchen...", value: query, oninput: e => { // Events always trigger a redraw. Changing a route (done at the bottom) triggers a redraw. // To at least only redraw once, we disable redraw for this event, i.e., only redraw for the route change. e.redraw = false const newQuery = e.target.value const params = Object.assign({}, m.route.param()) if (newQuery) { Loading Loading
static/components/pieces/SearchBar.js +4 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,10 @@ export default { placeholder: "Songs oder Interpreten suchen...", value: query, oninput: e => { // Events always trigger a redraw. Changing a route (done at the bottom) triggers a redraw. // To at least only redraw once, we disable redraw for this event, i.e., only redraw for the route change. e.redraw = false const newQuery = e.target.value const params = Object.assign({}, m.route.param()) if (newQuery) { Loading