Skip to content

Commit e28cb6a

Browse files
committed
Build
1 parent 9c437e4 commit e28cb6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/webdoc-default-template/static/scripts/default-template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8607,7 +8607,7 @@ var Link_Link = /*#__PURE__*/external_React_["forwardRef"](function Link(props,
86078607
})(Link_Link));
86088608
// CONCATENATED MODULE: ./src/app/components/Explorer/helpers.js
86098609
function isSamePage(data) {
8610-
var path = "".concat(window.location.pathname, ".html");
8610+
var path = window.location.pathname.includes(".html") ? window.location.pathname : "".concat(window.location.pathname, ".html");
86118611

86128612
if (data.page.startsWith("/") && data.page === path) {
86138613
return true;

0 commit comments

Comments
 (0)