diff options
| author | Henry Jameson <me@hjkos.com> | 2020-02-12 01:26:01 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-02-12 01:26:01 +0200 |
| commit | ba3c2780023e237f95fd05b04cca5a2e7bf696ca (patch) | |
| tree | 9996e9379e7825bd503036ac09d1ea98f7ace3b4 /src/components | |
| parent | 0fd78e99f55416a765f7e55e132e59c85ff04ad1 (diff) | |
dismiss warning when selecting other themes, fix collapsed attachments link color
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/attachment/attachment.vue | 2 | ||||
| -rw-r--r-- | src/components/style_switcher/style_switcher.js | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 0748b2f0..a7e217c1 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -130,6 +130,8 @@ .placeholder { margin-right: 8px; margin-bottom: 4px; + color: $fallback--link; + color: var(--postLink, $fallback--link); } .nsfw-placeholder { diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js index 0c8a9c3b..a7f586f4 100644 --- a/src/components/style_switcher/style_switcher.js +++ b/src/components/style_switcher/style_switcher.js @@ -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() |
