Browse Source

Disable timer before enable it

pull/15/head
10sr 9 years ago
parent
commit
f7a4bb73d7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      _keysnail.js

+ 1
- 0
_keysnail.js View File

@@ -395,6 +395,7 @@ var autoSaveTabList = (function(){
} }


function enableTimer(ev, sec){ function enableTimer(ev, sec){
disableTimer();
sec = sec || default_timer_interval; sec = sec || default_timer_interval;
__timer = window.setInterval(saveCurrentList, sec * 1000); __timer = window.setInterval(saveCurrentList, sec * 1000);
display.showPopup("AutoSaveTabList", display.showPopup("AutoSaveTabList",


Loading…
Cancel
Save