summaryrefslogtreecommitdiff
path: root/lib/js/urweb.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/js/urweb.js')
-rw-r--r--lib/js/urweb.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js
index 9834fde6..6343543e 100644
--- a/lib/js/urweb.js
+++ b/lib/js/urweb.js
@@ -113,6 +113,10 @@ function toSeconds(tm) {
return Math.round(tm / 1000000);
}
+function addSeconds(tm, n) {
+ return tm + n * 1000000;
+}
+
// Error handling