From ba3c2780023e237f95fd05b04cca5a2e7bf696ca Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 12 Feb 2020 01:26:01 +0200 Subject: dismiss warning when selecting other themes, fix collapsed attachments link color --- src/components/style_switcher/style_switcher.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/components/style_switcher/style_switcher.js') 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() -- cgit v1.2.3-70-g09d2