From 7783ddf0b243bd60f31e13164ab9fc0ea40a1cc0 Mon Sep 17 00:00:00 2001 From: kaffem <29717789+kaffem@users.noreply.github.com> Date: Sat, 13 Feb 2021 19:29:09 +0100 Subject: [PATCH] renamed watch2getherChat.ts to watch2gether.ts --- src/javascript/app.ts | 2 +- .../enhancements/{watch2getherChat.ts => watch2gether.ts} | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) rename src/javascript/enhancements/{watch2getherChat.ts => watch2gether.ts} (95%) diff --git a/src/javascript/app.ts b/src/javascript/app.ts index 9dae219..611738e 100644 --- a/src/javascript/app.ts +++ b/src/javascript/app.ts @@ -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'; diff --git a/src/javascript/enhancements/watch2getherChat.ts b/src/javascript/enhancements/watch2gether.ts similarity index 95% rename from src/javascript/enhancements/watch2getherChat.ts rename to src/javascript/enhancements/watch2gether.ts index 8ca0526..6a94bd4 100644 --- a/src/javascript/enhancements/watch2getherChat.ts +++ b/src/javascript/enhancements/watch2gether.ts @@ -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/.*$");