User:PleaseStand/segregate-refs-dev.js: Difference between revisions

Content deleted Content added
m bugfix: when using the LDR convert function on multiple groups, only the first use worked
m fixing the bugfix
Line 397:
function refsButtonHandler() { // Called when script activated by button click
// Both buttons should disappear
if(convertButton.parentNode){
convertButton.parentNode.removeChild(convertButton);
}
if(refsButton.parentNode) {
refsButton.parentNode.removeChild(refsButton);
}
Line 461:
// The first button should disappear
if(refsButton.parentNode) {
refsButton.parentNode.removeChild(refsButton);
}