mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
use correct tagblocked image
This commit is contained in:
parent
ff27a0992f
commit
72121ca057
1 changed files with 3 additions and 4 deletions
|
@ -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 };
|
Loading…
Reference in a new issue