|
|
|
@ -262,8 +262,13 @@ module.exports = class SettingsTab extends ViewPlugin { |
|
|
|
|
this.config.set('settings/matomo-analytics', isChecked) |
|
|
|
|
if (isChecked) { |
|
|
|
|
this._view.useMatomoAnalytics.setAttribute('checked', '') |
|
|
|
|
this._view.useMatomoAnalyticsLabel.classList.remove('text-secondary') |
|
|
|
|
this._view.useMatomoAnalyticsLabel.classList.add('text-dark') |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
this._view.useMatomoAnalytics.removeAttribute('checked') |
|
|
|
|
this._view.useMatomoAnalyticsLabel.classList.remove('text-dark') |
|
|
|
|
this._view.useMatomoAnalyticsLabel.classList.add('text-secondary') |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|