projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This is one way to notify about new mail
[citadel.git]
/
webcit-ng
/
static
/
js
/
defs.js
diff --git
a/webcit-ng/static/js/defs.js
b/webcit-ng/static/js/defs.js
index 737218a326d2e8d87b0301203f5be45f2eb38b76..ca896793c65d089c85e19126f14fd5fa2ccea87d 100644
(file)
--- a/
webcit-ng/static/js/defs.js
+++ b/
webcit-ng/static/js/defs.js
@@
-41,3
+41,6
@@
var views = {
VIEW_QUEUE : 11, // SMTP queue rooms
VIEW_WIKIMD : 12, // markdown wiki (no longer implemented)
};
+
+// new mail sound (we'll make it selectable later)
+const new_mail_sound = new Audio("/ctdl/s/sounds/hi_from_stu.wav");