foundation-apps icon indicating copy to clipboard operation
foundation-apps copied to clipboard

Error when zfCloseAll directive attempts to access attributes property on SVG element in Microsoft Edge browser

Open cs-NET opened this issue 8 years ago • 0 comments

It appears Microsoft Edge SVG element does not contain an attributes property which results in an exception being thrown when calling

return e in tar.attributes 

as part of the zfCloseAll directive. This will happen whenever you click an SVG element and have the zf-close-all directive on a parent element such as body.

Possible workaround is to check for existence of tar.attributes before calling in tar.attributes.

cs-NET avatar Mar 31 '16 21:03 cs-NET