MongoInspector icon indicating copy to clipboard operation
MongoInspector copied to clipboard

html errors

Open krawalli opened this issue 10 years ago • 3 comments

some element id's like "MongoInspector_prev" are used multiple in one document.

By w3c defintion a id should be unique in DOM.

krawalli avatar Feb 06 '15 08:02 krawalli

I think those elements would only render if the module expanded.. at least that's how I was planning to implement it. I'll look into it tonight, thanks for letting me know.

msavin avatar Feb 06 '15 16:02 msavin

Its also on un-expanded. Just copy a html to http://validator.w3.org/check

Its one per collection. So simply add a number or the collection name to the id and they should become unique again.

krawalli avatar Feb 06 '15 17:02 krawalli

Hey man, source code for the new package is up :)

You may also find this interesting https://github.com/msavin/Mongol/issues/9#issuecomment-75684606

msavin avatar Feb 24 '15 03:02 msavin