Skip to content

Instantly share code, notes, and snippets.

@WPDC
Last active December 14, 2015 04:58
Show Gist options
  • Save WPDC/493b5ebd1f030f5125a9 to your computer and use it in GitHub Desktop.
Save WPDC/493b5ebd1f030f5125a9 to your computer and use it in GitHub Desktop.
CS0110 3.7 - Order of Execution
function _qa() {
$('.qa-question').on('click', function() {
var $ans = $(this).next('.qa-answer');
if ( $(this).hasClass('opened') ) {
_closeQA( $answer, $(this) );
} else {
_openQA( $answer, $(this) );
}
$ans = null;
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment