sandflow / imscJS

JavaScript library for rendering IMSC Text and Image Profile documents to HTML5
BSD 2-Clause "Simplified" License
84 stars 31 forks source link

elementBoundingRect needs to be declared a `var` #225

Closed nigelmegitt closed 2 years ago

nigelmegitt commented 2 years ago

https://github.com/sandflow/imscJS/blob/3f468f4f35b0f398e5604047f7050cd401a26e36/src/main/js/html.js#L711

Should be:

                    var elementBoundingRect = se.node.getBoundingClientRect();