summaryrefslogtreecommitdiff
path: root/src/history.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-12-01 22:14:23 +0200
committerAlon Levy <alon@pobox.com>2014-12-01 22:14:23 +0200
commit3d825732760a610509a2c51f37461426a7a113b7 (patch)
treefec5514c5292affd254c4602f3e37b202c27ceb1 /src/history.js
parent46aa87fa5bd55b6d86878e2e721b2b940d33a085 (diff)
fix broken load
Diffstat (limited to 'src/history.js')
-rw-r--r--src/history.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/history.js b/src/history.js
index 37e96718..ab864d1c 100644
--- a/src/history.js
+++ b/src/history.js
@@ -93,7 +93,7 @@ History.prototype.save_to_file = function()
saveAs(new Blob([json], {type: 'application/json'}), 'history.json');
};
-History.prototype.clear_history = function()
+History.prototype.clear = function()
{
this.records = [];
}