Created
October 17, 2014 19:40
-
-
Save moderatorwes/22ecfc9beabc1a39070c to your computer and use it in GitHub Desktop.
Zendesk: Change voting wording if article is in a certain category
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
//Change wording of voting controls if article is in a certain category | |
if ($('.breadcrumbs li:nth-child(2) :contains("Technical")').size() == 1) { | |
$('.article-vote-question').text("Do you like this"); | |
} | |
else{ | |
$('.article-vote-question').text("Was this article helpful"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment