1
This commit is contained in:
Alex Yatskov 2014-11-09 12:36:41 +09:00
parent 205ab5c662
commit eaa3d0ea90
2 changed files with 4 additions and 3 deletions

View File

@ -19,8 +19,8 @@
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<big>Visualizer</big> <big>Visualizer</big>
<div class="btn-group pull-right"> <div class="pull-right">
<button class="btn btn-xs btn-default" id="forget">Forget</button> <button class="btn btn-xs btn-danger" id="forget">Forget</button>
<button class="btn btn-xs btn-default" id="learn">Learn</button> <button class="btn btn-xs btn-default" id="learn">Learn</button>
</div> </div>
</div> </div>

View File

@ -177,12 +177,13 @@
} }
function setCustomized(customized) { function setCustomized(customized) {
$('#forget').prop('disabled', customized);
if (customized) { if (customized) {
$('#customized').show(); $('#customized').show();
$('#forget').hide();
} }
else { else {
$('#customized').hide(); $('#customized').hide();
$('#forget').show();
} }
} }