Difference between revisions of "MediaWiki:Common.js"

my hopes are low but maybe this will unbreak the rendering
m (Reverted edits by BlueYoshi 57EML (talk) to last revision by Coz)
Tag: Rollback
(my hopes are low but maybe this will unbreak the rendering)
Line 108: Line 108:
         };
         };
})();
})();
/** prettybutton **************************************
*
* Description:  if button is clicked, add prettybutton-clicked. if clicked again, remove it
* Maintainers: blueyoshi
*/
const CD05 = document.getElementById("mw-customcollapsible-2005CD");
if (CD05.hasAttribute("collapsed")) {
  var my_div = getElementById('mw-customcollapsible-2005CD');
my_div.setAttribute("button2005CD", "button2005CD-clicked");
}