Commit 26a11f3a authored by lianahus's avatar lianahus Committed by Liana Husikyan

updated style for prop

parent f242c02e
...@@ -262,8 +262,13 @@ module.exports = class SettingsTab extends ViewPlugin { ...@@ -262,8 +262,13 @@ module.exports = class SettingsTab extends ViewPlugin {
this.config.set('settings/matomo-analytics', isChecked) this.config.set('settings/matomo-analytics', isChecked)
if (isChecked) { if (isChecked) {
this._view.useMatomoAnalytics.setAttribute('checked', '') this._view.useMatomoAnalytics.setAttribute('checked', '')
this._view.useMatomoAnalyticsLabel.classList.remove('text-secondary')
this._view.useMatomoAnalyticsLabel.classList.add('text-dark')
} else { } else {
this._view.useMatomoAnalytics.removeAttribute('checked') this._view.useMatomoAnalytics.removeAttribute('checked')
this._view.useMatomoAnalyticsLabel.classList.remove('text-dark')
this._view.useMatomoAnalyticsLabel.classList.add('text-secondary')
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment