mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Fixed book js not working
This commit is contained in:
@ -13,7 +13,7 @@ module.exports = {
|
||||
if (term.length == 0) return;
|
||||
this.searching = true;
|
||||
this.searchResults = '';
|
||||
var searchUrl = this.$$.form.getAttribute('action');
|
||||
var searchUrl = this.$els.form.getAttribute('action');
|
||||
searchUrl += '?term=' + encodeURIComponent(term);
|
||||
this.$http.get(searchUrl, function (data) {
|
||||
this.$set('searchResults', data);
|
||||
|
Reference in New Issue
Block a user