HyperlinkText opening new tab or window

Hi walter,
we are using HyperlinkText.js for nodes when click on it it goes to some page, but link opens in new tab or window. we want it should open it only in current window or tab. Please help.

Look at how it is defined:

Note how the click function calls window.open. Copy the code to be in your project and modify it to do what you want, which is probably setting window.location.