1
0
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:
Dan Brown
2015-11-22 13:12:15 +00:00
parent 004a8c755b
commit 3825ea8c14
2 changed files with 4 additions and 4 deletions

View File

@ -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);