diff --git a/.eslintrc.json b/.eslintrc.json index 64818faae..6d0addb49 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -99,7 +99,6 @@ "BlazeComponent": false, "CollectionHooks": false, - "DocHead": false, "ESSearchResults": false, "FastRender": false, "FlowRouter": false, diff --git a/.meteor/packages b/.meteor/packages index 1aa8f209e..edb017b01 100644 --- a/.meteor/packages +++ b/.meteor/packages @@ -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 diff --git a/.meteor/versions b/.meteor/versions index e60f1d201..4f333d7d0 100644 --- a/.meteor/versions +++ b/.meteor/versions @@ -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 diff --git a/client/components/settings/settingBody.js b/client/components/settings/settingBody.js index 2616fd976..ffa01446c 100644 --- a/client/components/settings/settingBody.js +++ b/client/components/settings/settingBody.js @@ -595,7 +595,7 @@ BlazeComponent.extendComponent({ this.setLoading(false); } - DocHead.setTitle(productName); + document.title = productName; }, toggleSupportPage() { diff --git a/client/lib/utils.js b/client/lib/utils.js index b0ba5cbb0..52f4a0ac3 100644 --- a/client/lib/utils.js +++ b/client/lib/utils.js @@ -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}`; } }, diff --git a/config/router.js b/config/router.js index 1c6789ca5..fc38dab95 100644 --- a/config/router.js +++ b/config/router.js @@ -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( diff --git a/sandstorm.js b/sandstorm.js index 6539a1942..81d8c2cc9 100644 --- a/sandstorm.js +++ b/sandstorm.js @@ -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