Fix an issue fetching anime for the add item call
This commit is contained in:
parent
d798a057c7
commit
0f94c0b479
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
const search = (tempHtml, query) => {
|
const search = (tempHtml, query) => {
|
||||||
_.$('.cssload-loader')[0].removeAttribute('hidden');
|
_.$('.cssload-loader')[0].removeAttribute('hidden');
|
||||||
_.get(_.url('/collection/search'), {query}, (searchResults, status) => {
|
_.get(_.url('/anime-collection/search'), {query}, (searchResults, status) => {
|
||||||
searchResults = JSON.parse(searchResults);
|
searchResults = JSON.parse(searchResults);
|
||||||
_.$('.cssload-loader')[0].setAttribute('hidden', 'hidden');
|
_.$('.cssload-loader')[0].setAttribute('hidden', 'hidden');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user