Commit 56ef5e9d authored by missionfloyd's avatar missionfloyd
Browse files

Remove end parenthesis from weight

parent 0eb5fde2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ function keyupEditAttention(event) {
    }

    var end = text.slice(selectionEnd + 1).indexOf(closeCharacter) + 1;
    var weight = parseFloat(text.slice(selectionEnd + 1, selectionEnd + 1 + end));
    var weight = parseFloat(text.slice(selectionEnd + 1, selectionEnd + end));
    if (isNaN(weight)) return;

    weight += isPlus ? delta : -delta;