Timon-D3v / timon.js

This package contains some functions and variables that I (Timon Fiedler) need from time to time.
MIT License
0 stars 0 forks source link

Issue with .text on getElm function #1

Closed Timon-D3v closed 5 months ago

Timon-D3v commented 6 months ago

If you try to get a HTML "a" element with the getEln function, the innerHTML will be overwritten with the text of the function itself because the document.getElementById() function that retrieves a "a" element returns a element.text. This could be the case with other elements too and it probablly happens on getQuery too.

Timon-D3v commented 6 months ago

I think it is fixed. Please review!

Timon-D3v commented 5 months ago

It was the same error as in issue #3 Fixed with release v0.0.17