Skip to content

Commit

Permalink
enable radio buttons for showing dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
SuziKim committed Oct 4, 2021
1 parent 45d78f4 commit 0978d1a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions AlexNet.html
Original file line number Diff line number Diff line change
Expand Up @@ -352,14 +352,9 @@ <h4>Architecture:</h4>
$('#rendererType input:radio').change(function() {
rendererType = this.value;
if (rendererType == 'svg') {
showDims = false;
$("#showDims").prop('disabled', true).prop('checked', false);
$("#showConvDims").prop('disabled', true).prop('checked', false);
$("#download").removeClass('disabled');
}
else if (rendererType == 'webgl') {
$("#showDims").prop('disabled', false);
$("#showConvDims").prop('disabled', false);
$("#download").addClass('disabled');
}
$(this).blur();
Expand Down

0 comments on commit 0978d1a

Please sign in to comment.