Skip to content

Instantly share code, notes, and snippets.

@akatz
Forked from jakeisonline/comment_permalink.js
Created June 8, 2011 18:31
Show Gist options
  • Save akatz/1015013 to your computer and use it in GitHub Desktop.
Save akatz/1015013 to your computer and use it in GitHub Desktop.
Adds a permalink to all Zendesk comments, and scrolls to them when linked to
@akatz
Copy link
Author

akatz commented Jun 8, 2011

human friendly comment hashes.

@jakeisonline
Copy link

Mm, nice! Only problem I can foresee is the "initial response" part. If you have the comment order flipped (which is possible to do in Zendesk) then that statement is false. Pagination will also be an issue there.

If this had some more comments inline explaining your code I'd love to merge this into my original gist - only reason for more comments is because people with very basic coding knowledge will likely use this, so want them to be informed as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment