mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/pools: inherit option to show underscores as spaces
This commit is contained in:
@ -204,7 +204,7 @@ function dataURItoBlob(dataURI) {
|
||||
return new Blob([data], { type: mimeString });
|
||||
}
|
||||
|
||||
function getPrettyTagName(tag) {
|
||||
function getPrettyName(tag) {
|
||||
if (settings.get().tagUnderscoresAsSpaces) {
|
||||
return tag.replace(/_/g, " ");
|
||||
}
|
||||
@ -228,5 +228,5 @@ module.exports = {
|
||||
decamelize: decamelize,
|
||||
escapeSearchTerm: escapeSearchTerm,
|
||||
dataURItoBlob: dataURItoBlob,
|
||||
getPrettyTagName: getPrettyTagName,
|
||||
getPrettyName: getPrettyName,
|
||||
};
|
||||
|
Reference in New Issue
Block a user