Skip to content

Commit e5d3505

Browse files
authored
sound-editor.jsx -- needs to be a string check, not number
1 parent 2b0f41b commit e5d3505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/sound-editor.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ class SoundEditor extends React.Component {
660660
checkable.firstChild.checked = false;
661661
}
662662
div.firstChild.checked = true;
663-
if (div.id === 0) selectedForceRate = div.id === 0;
663+
selectedForceRate = div.id == "0";
664664
e.stopPropagation();
665665
});
666666
menu.textarea.append(rateTitle, warningDiv, genTitle("Apply to:"), applicatorDiv);

0 commit comments

Comments
 (0)