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 {
margin-right: 8px;
margin-bottom: 4px;
color: $fallback--link;
color: var(--postLink, $fallback--link);
}
.nsfw-placeholder {

View file

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