Commit 58e9a134 authored by Pierre M's avatar Pierre M
Browse files

fix simultaneous multiple unplonk


Signed-off-by: Pierre M's avatarPierre Mazière <pierre.maziere@gmx.com>
parent 1c5678b8
......@@ -179,7 +179,9 @@
function unplonk(user,alias){
select = document.getElementById("plonkList");
for (let i = 0; i < select.length; i++){
// walk select options in reverse order to avoid
// indices reordering consequence of option removal
for (let i = select.length-1; i >= 0 ; i--){
if(!select[i].selected){
continue;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment