Remove extra parentheses

Looks like they snuck in when refactoring to inline declaration.
This commit is contained in:
awsr
2025-12-01 05:26:06 -08:00
parent 6cab50e584
commit 8fa791a22f
+2 -2
View File
@@ -41,7 +41,7 @@ async function awaitForGallery(expectedSize, signal) {
}
function updateGalleryStyles() {
folderStylesheet.replaceSync((window.opts.theme_type
folderStylesheet.replaceSync(window.opts.theme_type
=== 'Modern'
? `.gallery-folder { cursor: pointer; padding: 8px 6px 8px 6px; background-color: var(--sd-button-normal-color); border-radius: var(--sd-border-radius); text-align: left; min-width: 12em;}
.gallery-folder:hover { background-color: var(--button-primary-background-fill-hover); }
@@ -52,7 +52,7 @@ function updateGalleryStyles() {
.gallery-folder { cursor: pointer; padding: 8px 6px 8px 6px; }
.gallery-folder:hover { background-color: var(--button-primary-background-fill-hover); }
.gallery-folder-selected { background-color: var(--button-primary-background-fill); }
`));
`);
fileStylesheet.replaceSync(`
.gallery-file {
object-fit: contain;