diff --git a/assets/js/booru.js b/assets/js/booru.js index 289e5278..6daf469d 100644 --- a/assets/js/booru.js +++ b/assets/js/booru.js @@ -80,8 +80,7 @@ function initializeFilters() { } function unmarshal(data) { - try { return JSON.parse(data); } - catch (_) { return data; } + try { return JSON.parse(data); } catch (_) { return data; } } function loadBooruData() { @@ -104,10 +103,10 @@ function loadBooruData() { function BooruOnRails() { this.apiEndpoint = '/api/v2/'; - this.hiddenTag = '/tagblocked.svg'; + this.hiddenTag = '/images/tagblocked.svg'; this.tagsVersion = 5; } window.booru = new BooruOnRails(); -export { getTag, loadBooruData }; +export { getTag, loadBooruData }; \ No newline at end of file