MediaWiki:Common.js: Difference between revisions
No edit summary |
No edit summary |
||
| Line 41: | Line 41: | ||
$(function(){ | $(function(){ | ||
$('#firstHeading').text((i, text) => { | $('#firstHeading').text((i, text) => { | ||
console.log(text); | |||
if (text.includes('Video')) { | if (text.includes('Video')) { | ||
return text.replace('Video/', '').replace('/', ' · ') | return text.replace('Video/', '').replace('/', ' · ') | ||