mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
@ -235,7 +235,9 @@ function makeTagLink(name, includeHash, includeCount, tag) {
|
|||||||
|
|
||||||
function makePoolLink(id, includeHash, includeCount, pool, name) {
|
function makePoolLink(id, includeHash, includeCount, pool, name) {
|
||||||
const category = pool ? pool.category : "unknown";
|
const category = pool ? pool.category : "unknown";
|
||||||
let text = misc.getPrettyName(name ? name : pool.names[0]);
|
let text = misc.getPrettyName(
|
||||||
|
name ? name : pool ? pool.names[0] : "unknown"
|
||||||
|
);
|
||||||
if (includeHash === true) {
|
if (includeHash === true) {
|
||||||
text = "#" + text;
|
text = "#" + text;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user