summaryrefslogtreecommitdiff
path: root/src/history.js
diff options
context:
space:
mode:
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 = [];
}