Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created February 18, 2021 21:38
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 bjoerntx/8eeb35e5633b9ebe20638dbf06ddeaaa to your computer and use it in GitHub Desktop.
Save bjoerntx/8eeb35e5633b9ebe20638dbf06ddeaaa to your computer and use it in GitHub Desktop.
$("#trackedChangeState input:radio").change(function () {
switch ($(this).attr('id')) {
case "stateEdit":
reloadDocumentState()
break
case "stateOriginal":
trackChangesOriginal();
break;
case "stateNoMarkup":
trackChangesNoMarkup();
break;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment