diff --git a/resources/assets/js/pages/book-show.js b/resources/assets/js/pages/book-show.js index 7388cced1..45159ad02 100644 --- a/resources/assets/js/pages/book-show.js +++ b/resources/assets/js/pages/book-show.js @@ -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); diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.php index edd8a9b47..0485ccc15 100644 --- a/resources/views/books/show.blade.php +++ b/resources/views/books/show.blade.php @@ -63,7 +63,7 @@
-

Search Results Clear Search

+

Search Results Clear Search

@include('partials/loading-icon')
@@ -76,11 +76,11 @@