Browse Source

Fixed removing key instead of key index

pull/24/head
Teknikode 8 years ago
parent
commit
756dd7b617
  1. 2
      templates/default/js/profile.js

2
templates/default/js/profile.js

@ -110,7 +110,7 @@ function linkKeyDelete(selector) @@ -110,7 +110,7 @@ function linkKeyDelete(selector)
prev_split.splice(index, 1);
$("#update_public_key").val(prev_split.toString());
}
$(".public_key_"+key).remove();
$(".public_key_"+key_index.toString()).remove();
return false;
});
}
Loading…
Cancel
Save