General developer forum

How to make a link in Footer NOT open in new tab

 
Picture of Conn Warwicker
Re: How to make a link in Footer NOT open in new tab
Core developersParticularly helpful MoodlersPlugin developers

Hi,

That theme is forcing new tabs on those links.

You can see it on line 425 here: https://github.com/lmsace/klass/blob/e9986d975876ecdc2a33b584779c19163b5212f5/lib.php#L407

If you've got access to the code behind your site, you can just change that line to remove the target="_blank" bit.

 
Average of ratings: -