Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

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

Open
cs-NET opened this issue Mar 31, 2016 · 0 comments

Comments

@cs-NET
Copy link

cs-NET commented Mar 31, 2016

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant