@ -22,6 +22,9 @@ define([
}
$(question).toggleClass('cp-active-faq');
$(answer).slideDown();
var t = $(window).scrollTop();
window.location.hash = hash;
$(window).scrollTop(t);
});
questions.push(h('div.cp-faq-questions-items', [
Pages.setHTML(question, item.q),
@ -54,7 +54,9 @@ $(function () {
} else if (/invite/.test(pathname)) {
require([ '/invite/main.js'], function () {});
} else if (/faq/.test(pathname)) {
window.location.hash = window.location.hash;
var hash = window.location.hash;
window.location.hash = '';
} else {
require([ '/customize/main.js', ], function () {});