@youtyan/code-viewer 0.1.44 → 0.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app.js +2 -0
package/package.json
CHANGED
package/web/app.js
CHANGED
|
@@ -16525,6 +16525,8 @@ ${frontmatter.yaml}
|
|
|
16525
16525
|
}
|
|
16526
16526
|
window.addEventListener("popstate", applyRouteFromLocation);
|
|
16527
16527
|
document.querySelectorAll(".app-menu-item, .global-help-link").forEach((link2) => {
|
|
16528
|
+
if (link2.target === "_blank")
|
|
16529
|
+
return;
|
|
16528
16530
|
link2.addEventListener("click", (e2) => {
|
|
16529
16531
|
if (e2.metaKey || e2.ctrlKey || e2.shiftKey || e2.altKey || e2.button !== 0)
|
|
16530
16532
|
return;
|