Adding history slider callback stub
This commit is contained in:
parent
94d70dc9ea
commit
07b89725d8
@ -125,8 +125,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="padding: 10px;">
|
<div style="padding: 10px;">
|
||||||
<canvas id="grapher" width="800" height="550"></canvas><br>
|
<canvas id="grapher" width="800" height="550"></canvas>
|
||||||
<input id="history" type="text" data-slider-min="0" data-slider-max="20" data-slider-step="1">
|
<div class="text-right">
|
||||||
|
<input id="history" type="text" data-slider-max="20" data-slider-step="1">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -138,6 +138,10 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function onHistory(arg) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
function outputResults(results, count) {
|
function outputResults(results, count) {
|
||||||
var searchResultCnt = String(results.length);
|
var searchResultCnt = String(results.length);
|
||||||
if (results.length < count) {
|
if (results.length < count) {
|
||||||
@ -191,6 +195,7 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('#history').on('slideStop', onHistory);
|
||||||
$('#learnKeyword').click(onLearn);
|
$('#learnKeyword').click(onLearn);
|
||||||
$('#keywordToLearn').bind('input', function() {
|
$('#keywordToLearn').bind('input', function() {
|
||||||
$('#learnKeyword').prop('disabled', !$(this).val());
|
$('#learnKeyword').prop('disabled', !$(this).val());
|
||||||
|
Loading…
Reference in New Issue
Block a user