Author: orangepickle12
Description:
patch detailed in description
Instead of adding/removing classes from elements, toggleVisiblity in enhancedchanges.js sets the full class attribute. This conflicts with any third-party scripts that might set their own classes (and it was in writing such a script that I came across this).
I've attached a patch for skins/common/enhancedchanges.js, which fixes this for the #mw-rc-subentries- elements - I think it unlikely you'd need to mess with the arrows' classes, but fixing them is as easy. Maybe it would also make sense to use similar RexEx to test for the arrow's class instead of "openarrow.className == 'mw-changeslist-expanded'"?
Version: 1.17.x
Severity: minor
Attached: