Add e.stopImmediatePropagation() to prevent reload page when a Facets link is clicked.
This commit is contained in:
parent
cda7fcaf67
commit
5b06be16f1
1 changed files with 4 additions and 0 deletions
|
|
@ -126,6 +126,10 @@
|
|||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
|
||||
// added to prevent page reload if a facet link is clicked (Ajax of view is enabled)
|
||||
e.stopImmediatePropagation();
|
||||
|
||||
window.history.pushState(null, document.title, $(this).attr("href"));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue