Skip to content

Instantly share code, notes, and snippets.

@skipjac
Created March 17, 2014 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skipjac/9609643 to your computer and use it in GitHub Desktop.
Save skipjac/9609643 to your computer and use it in GitHub Desktop.
this changes the sidebar section that show recently viewed articles in Zendesk's HelpCenter
<script>
console.log('test');
var skipTest = function(){
if($('section.recent-articles').length === 1 ){
$('section.recent-articles h3').text('Skip is god')
return;
}
_.defer(skipTest.bind(this));
}
skipTest();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment