summaryrefslogtreecommitdiff
path: root/lib/js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/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 749e5056..66d427c8 100644
--- a/lib/js/urweb.js
+++ b/lib/js/urweb.js
@@ -3269,6 +3269,10 @@ function confrm(s) {
return confirm(s) ? true : false;
}
+function currentUrl() {
+ return window.location;
+}
+
// URL blessing