Skip to content

A platform for community discussion. Free, open, simple.

FIX: Do not override all title elements with page title

Penar Musaraj5a3350cd768f
diff --git a/app/assets/javascripts/discourse.js b/app/assets/javascripts/discourse.js
index eea5c756400..9de7c405380 100644
--- a/app/assets/javascripts/discourse.js
+++ b/app/assets/javascripts/discourse.js
@@ -56,12 +56,6 @@ const Discourse = Application.extend(FocusEvent, {
_titleChanged() {
let title = this._docTitle || Discourse.SiteSettings.title;
- // if we change this we can trigger changes on document.title
- // only set if changed.
- if ($("title").text() !== title) {
- $("title").text(title);
- }
-
let displayCount = this.displayCount;
let dynamicFavicon = this.currentUser && this.currentUser.dynamic_favicon;
if (displayCount > 0 && !dynamicFavicon) {