Unwanted text in feature article content in home

More
10 years 4 months ago #43114 by kimjoechang
The line was inserted as instructed but the page can not be loaded (sitting in a loop as attached)

function ui_elements_create(){

jQuery('*:conatins("_:default")').remove();

jQuery('img.caption').addClass('dyn_caption').removeClass('caption');

jQuery('a[rel="nofollow"]').attr('data-ajax','false');


Attachments:

Please Log in to join the conversation.

More
10 years 4 months ago #43139 by ivan.milic
Yes that code line has typo

this would be correct :

jQuery('*:not(:has(*)):contains("_:default")').remove();

Please Log in to join the conversation.

More
10 years 4 months ago #43154 by kimjoechang
I entered the line. The default text is still there.

function ui_elements_create(){

jQuery('*:not(:has(*)):contains("_:default")').remove();

jQuery('img.caption').addClass('dyn_caption').removeClass('caption');

Please Log in to join the conversation.

More
10 years 4 months ago #43157 by ivan.milic
You probably need refresh, hit ctrl+f5 few times

Please Log in to join the conversation.

More
10 years 4 months ago #43160 by kimjoechang
Done ctrl-F5 at least 20 times. It's still there.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
10 years 4 months ago #43164 by milos
Hello,

Chrome sometimes has problems to clean cache so you must clean it manually. Can you try with different browser, in example Firefox, or with Chrome but logged in as different user or from different computer?

Regards

Please Log in to join the conversation.

Time to create page: 0.111 seconds
Powered by Kunena Forum