DEV: remove repetitive words (#26684)

This commit is contained in:
Aida Syoko 2024-05-01 15:58:02 +08:00 committed by GitHub
parent 8ed684312f
commit 3a69824ffb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ export function currentThemeKey() {
if (console && console.warn && console.trace) {
// TODO: Remove this code Jan 2019
deprecated(
"'currentThemeKey' is is deprecated use 'currentThemeId' instead. A theme component may require updating.",
"'currentThemeKey' is deprecated use 'currentThemeId' instead. A theme component may require updating.",
{ id: "discourse.current-theme-key" }
);
}

View File

@ -1071,7 +1071,7 @@ export default class ComposerService extends Service {
// for now handle a very narrow use case
// if we are replying to a topic
// AND are on on a different topic
// AND are on a different topic
// AND topic is open (or we are staff)
// --> pop the window up
if (!force && composer.replyingToTopic) {