From 9f70aa17b089927cc62141823f5b987c698142d9 Mon Sep 17 00:00:00 2001 From: Mark Beeson Date: Wed, 26 Oct 2016 16:47:28 -0700 Subject: [PATCH] JS --- web/app/assets/javascripts/maildrop.coffee | 4 ++-- web/app/views/messagefooter.scala.html | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/web/app/assets/javascripts/maildrop.coffee b/web/app/assets/javascripts/maildrop.coffee index c42e157..d7a7143 100644 --- a/web/app/assets/javascripts/maildrop.coffee +++ b/web/app/assets/javascripts/maildrop.coffee @@ -40,7 +40,7 @@ class Index el = M.id "blocked" trash = M.id "trash" wshost = window['MailDropWsHost'] || window.location.host - socket = new WebSocket("ws://" + wshost + "/ws/blocked") + socket = new WebSocket("wss://" + wshost + "/ws/blocked") socket.onmessage = (msg) -> if document.all then el.innerText = msg.data else el.textContent = msg.data el.addClass "add" @@ -307,4 +307,4 @@ else if document.attachEvent document.attachEvent "onreadystatechange", -> if document.readyState is "complete" document.detachEvent "onreadystatechange", arguments.callee - M.domReady() \ No newline at end of file + M.domReady() diff --git a/web/app/views/messagefooter.scala.html b/web/app/views/messagefooter.scala.html index 4103530..83471da 100644 --- a/web/app/views/messagefooter.scala.html +++ b/web/app/views/messagefooter.scala.html @@ -21,6 +21,20 @@

Alias Address:

@site Sponsors:

Heluna Antispam - Cloud-based antispam for your domain.

+ +
+ + + + +
+

@site keeps running thanks to the generosity of its sponsors. Please contact us if you're interested in sponsoring