renamed watch2getherChat.ts to watch2gether.ts

This commit is contained in:
kaffem 2021-02-13 19:29:09 +01:00
parent c9fdbdebbc
commit 7783ddf0b2
2 changed files with 4 additions and 1 deletions

View file

@ -10,7 +10,7 @@ import { init as languageDisplay } from './enhancements/languageDisplay';
import { init as notifications } from './enhancements/notifications'; import { init as notifications } from './enhancements/notifications';
import { init as quickSearch } from './enhancements/quickSearch'; import { init as quickSearch } from './enhancements/quickSearch';
import { init as timeConversion } from './enhancements/timeConversion'; 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'; import { init as watch2getherAutotoggleHide } from './enhancements/watch2getherHide';
// css // css
import { init as cssEnhancements } from './enhancements/cssEnhancements'; import { init as cssEnhancements } from './enhancements/cssEnhancements';

View file

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