Show customized label when making modifications
This commit is contained in:
parent
1b671e288f
commit
11d25531a4
@ -35,6 +35,7 @@
|
||||
$.getJSON('/search', _ctx.query, function(results) {
|
||||
saveSnapshot(results);
|
||||
outputSnapshot(results);
|
||||
$('#customized').show();
|
||||
});
|
||||
}
|
||||
|
||||
@ -133,12 +134,14 @@
|
||||
$.getJSON('/search', _ctx.query, function(results) {
|
||||
saveSnapshot(results);
|
||||
outputSnapshot(results);
|
||||
$('#customized').hide();
|
||||
});
|
||||
}
|
||||
|
||||
function onSelectSnapshot() {
|
||||
var index = $('#historyIndex').slider('getValue');
|
||||
outputSnapshot(_ctx.log[index]);
|
||||
$('#customized').show();
|
||||
}
|
||||
|
||||
function saveSnapshot(results) {
|
||||
|
@ -89,7 +89,7 @@
|
||||
var _panelSize = 20;
|
||||
var _tickSize = 5;
|
||||
var _width = 125;
|
||||
var _easeTime = 250;
|
||||
var _easeTime = 200;
|
||||
|
||||
var _enabled = true;
|
||||
var _canvas = params.canvas;
|
||||
|
Loading…
Reference in New Issue
Block a user