Mercurial > code > home > repos > light9
changeset 1135:d5c87125225e
helper laptop gets faster asco update rate
Ignore-this: ae2f8b21273b81f0b58b327d6861136
author | drewp@bigasterisk.com |
---|---|
date | Sat, 14 Jun 2014 06:54:54 +0000 |
parents | 8748f1f47fe8 |
children | f48be3d18387 |
files | light9/ascoltami/index.html |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/ascoltami/index.html Sat Jun 14 06:34:19 2014 +0000 +++ b/light9/ascoltami/index.html Sat Jun 14 06:54:54 2014 +0000 @@ -47,6 +47,10 @@ $("#nav").text(navigator.userAgent); var updateFreq = (navigator.userAgent.indexOf("Linux") != -1) ? 10 : 2; + if (navigator.userAgent.match(/Windows NT/)) { + // helper laptop + updateFreq = 10; + } $("#updateReq").text(updateFreq); var times = { // need to get these from server