Merge pull request #6083 from harryadel/remove-kadira-dochead

Remove kadira:dochead
This commit is contained in:
Lauri Ojansivu 2026-01-21 13:33:50 +02:00 committed by GitHub
commit f38e3624cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 5 additions and 8 deletions

View file

@ -99,7 +99,6 @@
"BlazeComponent": false,
"CollectionHooks": false,
"DocHead": false,
"ESSearchResults": false,
"FastRender": false,
"FlowRouter": false,

View file

@ -43,7 +43,6 @@ session@1.2.1
tracker@1.3.3
underscore@1.0.13
audit-argument-checks@1.0.7
kadira:dochead
mquandalle:autofocus
ongoworks:speakingurl
raix:handlebar-helpers

View file

@ -50,7 +50,6 @@ id-map@1.1.1
idmontie:migrations@1.0.3
inter-process-messaging@0.1.1
jquery@3.0.0
kadira:dochead@1.5.0
konecty:mongo-counter@0.0.5_3
lmieulet:meteor-coverage@1.1.4
localstorage@1.2.0

View file

@ -595,7 +595,7 @@ BlazeComponent.extendComponent({
this.setLoading(false);
}
DocHead.setTitle(productName);
document.title = productName;
},
toggleSupportPage() {

View file

@ -758,9 +758,9 @@ Utils = {
setCustomUI(data) {
const currentBoard = Utils.getCurrentBoard();
if (currentBoard) {
DocHead.setTitle(`${currentBoard.title} - ${data.productName}`);
document.title = `${currentBoard.title} - ${data.productName}`;
} else {
DocHead.setTitle(`${data.productName}`);
document.title = `${data.productName}`;
}
},

View file

@ -296,7 +296,7 @@ FlowRouter.route('/global-search', {
Utils.manageCustomUI();
Utils.manageMatomo();
DocHead.setTitle(TAPi18n.__('globalSearch-title'));
document.title = TAPi18n.__('globalSearch-title');
if (FlowRouter.getQueryParam('q')) {
Session.set(

View file

@ -479,7 +479,7 @@ if (isSandstorm && Meteor.isClient) {
]);
Tracker.autorun(() => {
updateSandstormMetaData({ setTitle: DocHead.getTitle() });
updateSandstormMetaData({ setTitle: document.title });
});
// Runtime redirection from the home page to the unique board -- since the