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-heading">
<big>Visualizer</big>
<div class="btn-group pull-right">
<button class="btn btn-xs btn-default" id="forget">Forget</button>
<div class="pull-right">
<button class="btn btn-xs btn-danger" id="forget">Forget</button>
<button class="btn btn-xs btn-default" id="learn">Learn</button>
</div>
</div>

View File

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