Skip to content
Snippets Groups Projects
Commit 3b3d36d4 authored by didierfred's avatar didierfred
Browse files

Fix sonar issues

parent b612da1f
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ function setButtonStatus(button,status) {
}
else {
button.className="btn btn-default btn-sm";
button.innerHTML="OFF <span class=\"glyphicon glyphicon-ban-circle\"></span>";
button.innerHTML="OFF <span class=\"glyphicon glyphicon-ban-circle\"></span>";
}
}
......@@ -376,7 +376,7 @@ function readSingleFile(e) {
**/
function deleteLine(line_number_to_delete) {
if (line_number_to_delete !== line_number) {
for (i=line_number_to_delete;i<line_number-1;i++) {
for (let i=line_number_to_delete;i<line_number-1;i++) {
const j = i+1;
document.getElementById("select_action"+i).value = document.getElementById("select_action"+j).value;
document.getElementById("url_contains"+i).value = document.getElementById("url_contains"+j).value;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment