MediaWiki:Group-sysop.js: Difference between revisions

Content deleted Content added
Created page with "jQuery(document).ready(function ($) { var link, reason, ips, ip, i; // Opt-out if ( window.disableSysopJS ) { return; } /** * Automatic deletion dropdown * * Lo..."
 
adapt automatic del dropdown
Line 16:
* Maintainers: Happy-melon
*/
if (document.getElementById('ca-delete') && document.getElementById('delete-criterionreason')) {
link = document.getElementById('ca-delete').getElementsByTagName('A')[0];
reason = document.getElementById('delete-reason').innerHTML;