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"); }