Created
March 17, 2014 22:24
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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