Skip to content

Commit 21c80c4

Browse files
author
mageprince
committed
Fix firefox ajax load faq on faq group click
1 parent eb6216a commit 21c80c4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

view/frontend/web/js/faq.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ define([
2222

2323
function scrollToGroup(data) {
2424
var target = $(data.getAttribute('href'));
25-
if( target.length ) {
26-
event.preventDefault();
25+
if(target.length) {
2726
$('html, body').stop().animate({
2827
scrollTop: target.offset().top
2928
}, 1000);

0 commit comments

Comments
 (0)