MediaWiki:Gadget-editSummary.js: различия между версиями
м ????? |
м ???? |
||
| Строка 28: | Строка 28: | ||
// HIDER | // HIDER | ||
sp.insertAdjacentHTML('afterbegin', '<b>[+]</b>'); | sp.insertAdjacentHTML('afterbegin', '<b>[+]</b>'); | ||
$(" | $(sp).children("a").hide() | ||
.on("mouseover", function() { | .on("mouseover", function() { | ||
$(" | $(this).children("a").show(); | ||
}).on("mouseout", function() { | }).on("mouseout", function() { | ||
$(" | $(this).children("a").hide(); | ||
}); //.css({display:'inline-block'}); | }); | ||
}//.css({display:'inline-block'}); | |||
function addSumButton(name, text, title) { | function addSumButton(name, text, title) { | ||