Fix hooking

This commit is contained in:
Cryptkeeper 2016-02-01 05:21:46 -06:00
parent c4177abaaf
commit 01c427eea2

@ -214,6 +214,9 @@ function setAllGraphVisibility(visible) {
historyPlot.setupGrid(); historyPlot.setupGrid();
historyPlot.draw(); historyPlot.draw();
// Update our localStorage
saveGraphControls(Object.keys(displayedGraphData));
} }
function toggleControlsDrawer() { function toggleControlsDrawer() {
@ -467,6 +470,6 @@ $(document).ready(function() {
historyPlot.draw(); historyPlot.draw();
// Update our localStorage // Update our localStorage
saveGraphControls(); saveGraphControls(Object.keys(displayedGraphData));
}); });
}); });