|
@@ -57,7 +57,7 @@ setTimeout(function(){
|
|
|
function btnDel(){
|
|
|
var arr = $s.hashTable.slice();
|
|
|
var thisLine = this.parentElement.parentElement;
|
|
|
- arr.splice(thisLine.rowIndex,1)
|
|
|
+ arr.splice(thisLine.rowIndex -1,1)
|
|
|
$s.hashTable = arr;
|
|
|
$s.btnDel = {onclick: btnDel};
|
|
|
//document.onchange();
|