Created
October 4, 2017 21:28
-
-
Save anonymous/f02d9e4cf0038fc1420643255dedc64b to your computer and use it in GitHub Desktop.
QAA Hide
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
document.addEventListener("turbolinks:load", function() { | |
$('.qaa-box').on('click', function() { | |
$('.answers-box').hide(); | |
$(this).next().slideToggle(400); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment