
faq.js
About this file
This JS file handles adding click handlers to each FAQ link, and the click handlers result in scrolling to where the FAQ answer is.
Code Check Report
Documentation drawn from source code
function generateFaqClickHandler(id) {
/*
* This function creates faq link click handlers for when you have multiple events inside a loop
*/
return function (e) {
$(document).ready(function () {
$(".back-to-top").click(function () {
$(".faq-link").each(function (index) {