X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmisc%2Fform.js;h=88226a51569815ddb5a32f73a0043a0acaae9c90;hb=4e1bfbf98b844da83b18aca92ef00f11a4735806;hp=baaba184ee228081a0bef71dae82553b4f4118e8;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/web/core/misc/form.js b/web/core/misc/form.js index baaba184e..88226a515 100644 --- a/web/core/misc/form.js +++ b/web/core/misc/form.js @@ -130,7 +130,7 @@ if (e.type === 'click') { url = e.currentTarget.location ? e.currentTarget.location : e.currentTarget; } else { - url = location; + url = window.location; } var hash = url.hash.substr(1); if (hash) {