I think this is a relatively simple one, but the id tag on the initial span that adds the a2a_kit to the screen isn't declared

id="" style="line-height: 32px;">

Inside the addtoany.module the id is actually set to id="da2a_%s" on line 373 but it is then unset by a Javascript call on line 184:

              . "el.id='';" // Remove ID so AJAX can reuse the same ID

I think the intention was to actually populate ID with an actual name perhaps id="da2a" so it could be recycled over and over again, but instead the ID is just blank. Then again, maybe this was the initial intention. Kind of being OCD because tI like this to not have blank id attributes.

Comments

frank005 created an issue. See original summary.

micropat’s picture

Category: Bug report » Support request
Status: Active » Closed (works as designed)

When you view the HTML source, you should see the ID(s) declared as da2a_1, da2a_2, etc.

When you inspect the DOM, the IDs are emptied as designed.

This design enables post-load AJAX buttons while also supporting non-HTML5 themes.