Re: How to disable target=_blank [message #164166 is a reply to message #164019] |
Fri, 07 January 2011 11:44 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma:
|
Senior Member |
|
|
When this topic 1st came out I did not quite understand it, but I believe I do now. Seems that whenever I follow a link from the forum it's a pain to get back to it because the computer wants to resend the data, I much preferred the old open new window/tab functionality.
To recap, in order to fix this insert:
$('a[href^="http://"]')
.attr({
target: "_blank",
title: "Opens in a new window"
});
Into the /js/lib.js file, right after :
Which is located right around line 437 which means add the code on line 438.
I believe if possible this should be a selectable option for future releases if not default!
"I'm a Witcher, I solve human problems; not always using a sword!"
|
|
|