Fix per-forum profiles in TW
The per-forum profiles only appeared in TW when the "extrainfo" option
was enabled, when in reality the "perforumprofiles" option should have
been checked instead.
Change-Id: Ibfbc35a50c2e42f8c377e5b5d42e00e56c3d2500
diff --git a/src/contentScripts/publicProfileStart.js b/src/contentScripts/publicProfileStart.js
index f5a3a2f..5238337 100644
--- a/src/contentScripts/publicProfileStart.js
+++ b/src/contentScripts/publicProfileStart.js
@@ -1,7 +1,7 @@
import {injectScript} from '../common/contentScriptsUtils.js';
import {getOptions} from '../common/optionsUtils.js';
-getOptions('extrainfo').then(options => {
- if (options?.extrainfo)
+getOptions('perforumstats').then(options => {
+ if (options?.perforumstats)
injectScript(chrome.runtime.getURL('extraInfoInject.bundle.js'));
});