Skip to content

Commit

Permalink
Fix disabling song repeat and some wording
Browse files Browse the repository at this point in the history
  • Loading branch information
mborik committed Nov 20, 2022
1 parent 8dba22c commit 7c46212
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/compiler/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,6 @@ export default class Compiler extends CompilerRender implements CompilerOptions
$('label[for=txPlayerAddress]').toggleClass('disabled', state);
$('#txPlayerAddress,#chPlayerAddressHex').prop('disabled', state);
$('#chPlayerAddressHex').bootstrapToggle(state ? 'disable' : 'enable');

$('#chPlayerRepeat').prop('disabled', state);
}

private onPlayerAddressChanging(value: string = $('#txPlayerAddress').val()) {
Expand Down
4 changes: 2 additions & 2 deletions templates/dlg-compiler.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ <h4 class="modal-title">Binary compilation</h4>
<div class="panel-footer">
<div class="form-group">
<div class="checkbox"><label class="control-label"><input id="chPlayerRepeat" type="checkbox" tabindex="10">Repeat song</label></div>
<div class="checkbox"><label class="control-label"><input id="chSongHeader" type="checkbox" tabindex="11">Include song title&amp;author into compiled data</label></div>
<div class="checkbox"><label class="control-label"><input id="chVerbose" type="checkbox" tabindex="12">Show verbose log for developers after compilation</label></div>
<div class="checkbox"><label class="control-label"><input id="chSongHeader" type="checkbox" tabindex="11">Include song title &amp; author into compiled data</label></div>
<div class="checkbox"><label class="control-label"><input id="chVerbose" type="checkbox" tabindex="12">Show verbose log for developers</label></div>
</div>
</div>
</div>
Expand Down

0 comments on commit 7c46212

Please sign in to comment.