We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fb5f0e commit 7fe5744Copy full SHA for 7fe5744
UserHighlighterSimple/modules/UserHighlighterSimple.js
@@ -166,10 +166,6 @@ export class UserHighlighterSimple {
166
return false;
167
}
168
169
- if ( this.notInUserOrUserTalkNamespace() ) {
170
- return false;
171
- }
172
-
173
const isDiscussionToolsSectionLink = url.includes( '#' );
174
if ( isDiscussionToolsSectionLink ) {
175
@@ -229,12 +225,6 @@ export class UserHighlighterSimple {
229
225
return '';
230
226
231
227
232
- notInUserOrUserTalkNamespace() {
233
- const namespace = this.titleHelper.getNamespaceId();
234
- // TODO: refactor $.inArray
235
- return this.$.inArray( namespace, [ 2, 3 ] ) === -1;
236
237
238
228
/**
239
* @return {string}
240
*/
0 commit comments