Hide the "return to table of contents" button when on the table of contents home page. | Experience Community
Skip to main content
Question

Hide the "return to table of contents" button when on the table of contents home page.

  • Jan 12, 2021 7:35 PM UTC
  • 1 reply
  • 86 views

Forum|alt.badge.img+5

Can this be done?

1 reply

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • Feb 15, 2021 10:54 PM UTC

Use the below code in header:
if(jQuery("#TOCPage").length)
jQuery("#JumpButton").hide();