dismiss warning when selecting other themes, fix collapsed attachments link color

This commit is contained in:
Henry Jameson 2020-02-12 01:26:01 +02:00
parent 0fd78e99f5
commit ba3c278002
2 changed files with 4 additions and 0 deletions

View File

@ -130,6 +130,8 @@
.placeholder { .placeholder {
margin-right: 8px; margin-right: 8px;
margin-bottom: 4px; margin-bottom: 4px;
color: $fallback--link;
color: var(--postLink, $fallback--link);
} }
.nsfw-placeholder { .nsfw-placeholder {

View File

@ -385,6 +385,7 @@ export default {
origin, origin,
forceUseSource = false forceUseSource = false
) { ) {
this.dismissWarning()
if (!source && !theme) { if (!source && !theme) {
throw new Error('Can\'t load theme: empty') throw new Error('Can\'t load theme: empty')
} }
@ -723,6 +724,7 @@ export default {
} }
}, },
selected () { selected () {
this.dismissWarning()
if (this.selectedVersion === 1) { if (this.selectedVersion === 1) {
if (!this.keepRoundness) { if (!this.keepRoundness) {
this.clearRoundness() this.clearRoundness()