From b0ceba11bea4bafc9cc081f9adb87bee86a30e24 Mon Sep 17 00:00:00 2001 From: cilame Date: Mon, 29 Nov 2021 14:44:41 +0800 Subject: [PATCH] Update env_maker.js --- tools/env_maker.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/env_maker.js b/tools/env_maker.js index 0acd58b..ae68bf0 100644 --- a/tools/env_maker.js +++ b/tools/env_maker.js @@ -2031,6 +2031,9 @@ HTMLAnchorElement._init = function(_this){ v_hook_href(_this[_y]) _this[_y].href = location[_y].href _this[_y].namespaceURI = "http://www.w3.org/1999/xhtml" + _this[_y].toString = function(){ + return _this[_y].href + } } ;(function(){