1

Disable grapher on all ajax calls

This commit is contained in:
Alex Yatskov 2014-11-08 15:12:53 +09:00
parent 70d8bb802c
commit d6c76ba49c

View File

@ -32,12 +32,9 @@
function onAdjust(name, value) {
_ctx.query.features[name] = value;
_ctx.grapher.enable(false);
$.getJSON('/search', _ctx.query, function(results) {
saveSnapshot(results);
outputSnapshot(results);
_ctx.grapher.enable(true);
});
}