@maxtropy/v-components 0.1.16-beta.29 → 0.1.16-beta.30
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/dist/mx-vcomponents.es.js +10 -1
- package/package.json +1 -1
|
@@ -25924,7 +25924,16 @@ function SK() {
|
|
|
25924
25924
|
return;
|
|
25925
25925
|
const i = a.getAttribute("target") ?? "_self";
|
|
25926
25926
|
if (l.startsWith("#") && l.length > 1) {
|
|
25927
|
-
o.preventDefault()
|
|
25927
|
+
o.preventDefault();
|
|
25928
|
+
const p = l.replace("#", ""), d = document.getElementById(p);
|
|
25929
|
+
if (d) {
|
|
25930
|
+
d.scrollIntoView();
|
|
25931
|
+
const { pathname: f, search: v, hash: m } = window.location;
|
|
25932
|
+
if (m !== l) {
|
|
25933
|
+
const g = `${f}${v}${l}`;
|
|
25934
|
+
history.replaceState(null, "", g);
|
|
25935
|
+
}
|
|
25936
|
+
}
|
|
25928
25937
|
return;
|
|
25929
25938
|
}
|
|
25930
25939
|
o.preventDefault(), window.open(l, i);
|