News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Found 2 elements with non-unique id #spell_form

Started by smartmouse, March 01, 2020, 12:37:34 PM

Previous topic - Next topic

smartmouse

Hello, I'm using SMF 2.1 RC2 and in the browser console I have the following warning everytime I load a topic page:

[DOM] Found 2 elements with non-unique id #spell_form: (More info: https://goo.gl/9p2vKq) (more details in attached image).

What's wrong with it?

Antechinus

It's a bug. Congratulations. You found one. :)

ID's in HTML can only be used once on each page. If you mistakenly use an ID more than once, you get error messages like that.

Not sure if this one is already known on GitHub, but this should be moved to the Bug Reports board.

smartmouse

Quote from: Antechinus on March 01, 2020, 03:10:55 PM
It's a bug. Congratulations. You found one. :)

ID's in HTML can only be used once on each page. If you mistakenly use an ID more than once, you get error messages like that.

Not sure if this one is already known on GitHub, but this should be moved to the Bug Reports board.
Glad to have found it. Thank you.

Advertisement: