Skip to content

Commit

Permalink
Fix transpose
Browse files Browse the repository at this point in the history
  • Loading branch information
pehala committed Dec 28, 2023
1 parent 8fe1867 commit 595db5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/static/js/chords.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function transpose(event, object, id) {
const old_value = input.attr("previous_value");
const new_value = input.val();
const diff = new_value - old_value;
$("#" + id).find(".chord").each(function(element) {
$("#id" + id).find(".chord").each(function(element) {
$( this ).html(transposeChord($( this ).html(), diff))
});
input.attr("previous_value", new_value);
Expand Down

0 comments on commit 595db5b

Please sign in to comment.