| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b3cbd13 commit c245a19
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,7 +30,7 @@ var lists = {}; | |||
| 30 | 30 | // with them. | |
| 31 | 31 | exports.active = function(item) { | |
| 32 | 32 | const msecs = item._idleTimeout; | |
| 33 | - if (msecs < 0) return; | ||
| 33 | + if (msecs < 0 || msecs === undefined) return; | ||
| 34 | 34 | ||
| 35 | 35 | item._idleStart = Timer.now(); | |
| 36 | 36 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,7 +22,8 @@ legitTimers.forEach(function(legit) { | |||
| 22 | 22 | ||
| 23 | 23 | // active() should not create a timer for these | |
| 24 | 24 | var bogusTimers = [ | |
| 25 | - { _idleTimeout: -1 } | ||
| 25 | + { _idleTimeout: -1 }, | ||
| 26 | + { _idleTimeout: undefined }, | ||
| 26 | 27 | ]; | |
| 27 | 28 | ||
| 28 | 29 | bogusTimers.forEach(function(bogus) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments