Skip to content

Commit b1d1c97

Browse files
committed
[BUG] Include prevent default in api.content.navigate #3
1 parent ce89998 commit b1d1c97

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/js/api.library.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,9 @@ api.content.navigate = function (pNavSelector, pRelativeURL, pNav_link_SelectorT
177177
if (uri.is("relative") === false)
178178
return;
179179

180-
$(pNavSelector).click(function () {
180+
$(pNavSelector).click(function (e) {
181+
e.preventDefault();
182+
181183
/**
182184
* Load the URL with smooth transition
183185
* Set async to false to enforce script serialization

0 commit comments

Comments
 (0)