diff options
Diffstat (limited to 'browser/static/htmp.js')
| -rw-r--r-- | browser/static/htmp.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/browser/static/htmp.js b/browser/static/htmp.js index 36deae2..62956a4 100644 --- a/browser/static/htmp.js +++ b/browser/static/htmp.js @@ -39,13 +39,3 @@ document.querySelectorAll("form[htmp]").forEach(function (el) { el.action = action.toString(); el.target = "htmp"; }); - -document.querySelectorAll("a[htmp]").forEach(function (el) { - const re = el.attributes.replace.value; - - const href = new URL(el.href); - href.hash = re; - href.searchParams.set("htmp", re); - el.target = "htmp"; - el.href = href.toString(); -}); |
