#144 Autotoggle the hide feature #179

Merged
kaffem merged 7 commits from feature/#144-autotoggle-hide-w2g into develop 2021-02-13 20:02:03 +01:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 7783ddf0b2 - Show all commits

View file

@ -10,7 +10,7 @@ import { init as languageDisplay } from './enhancements/languageDisplay';
import { init as notifications } from './enhancements/notifications';
import { init as quickSearch } from './enhancements/quickSearch';
import { init as timeConversion } from './enhancements/timeConversion';
import { init as watch2getherChat } from './enhancements/watch2getherChat';
import { init as watch2getherChat } from './enhancements/watch2gether';
import { init as watch2getherAutotoggleHide } from './enhancements/watch2getherHide';
// css
import { init as cssEnhancements } from './enhancements/cssEnhancements';

View file

@ -6,6 +6,9 @@ import { assigned } from '../utils/helpers';
export function init(): void {
getGlobalConfiguration().getProperty(SETTINGS_w2gDisplayCharacterCounter, value => {
if (value) {
core.runAfterLoad(() => {
manipulateChatInput();
}, "^/watch2gether/.*$");
core.runAfterLocationChange(() => {
manipulateChatInput();
}, "^/watch2gether/.*$");