From 73d7ac1e528c092fd180ac60d9b33d1d3071009f Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 23 Sep 2015 02:45:49 +0900 Subject: [PATCH] Fix arg --- _keysnail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_keysnail.js b/_keysnail.js index cffc56e..8552dc5 100644 --- a/_keysnail.js +++ b/_keysnail.js @@ -389,9 +389,9 @@ var autoSaveTabList = (function(){ } } - function enableTimer(sec){ + function enableTimer(ev, sec){ sec = sec || default_timer_interval; - // __timer = window.setInterval(saveCurrentList, sec * 1000); + __timer = window.setInterval(saveCurrentList, sec * 1000); display.showPopup("AutoSaveTabList", "Auto save enabled for every " + sec.toString() + " sec"); }