Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

User Public Stats Link

More
10 years 6 months ago #117753 by squeak24
Hey Everybody,

I would like to change the Public Stats to remove the

Code:
target="_blank"

I want the Public Stats in the same Window as the Survey.

Any help would be greatly appreciated.

Bob
The topic has been locked.
More
10 years 6 months ago #117754 by tpartner
Replied by tpartner on topic User Public Stats Link
Add this to the end of template.js:

Code:
$(document).ready(function() {    
  $('.publicstatisticslink').attr('target', '_self');    
});

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: cafonso
The topic has been locked.
More
10 years 6 months ago #117755 by squeak24
Replied by squeak24 on topic User Public Stats Link
Thank you, that is fantastic. I will do that later.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose