aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/static
diff options
context:
space:
mode:
authorGravatar makc2017-05-18 22:38:44 +0200
committerGravatar makc2017-05-18 22:38:44 +0200
commitdb1003e7a5194d2aa34a36272291923818661f8a (patch)
tree4f7947bb553785f0e56698bcd29ede55e8f60be9 /juick-www/src/main/static
parentfd7a00f27cd268e6208b4cbd2e5b795e9b4794be (diff)
embed image links
Diffstat (limited to 'juick-www/src/main/static')
-rw-r--r--juick-www/src/main/static/scripts.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index d48844f7..57661caa 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -2,6 +2,7 @@ var autosize = require('autosize');
require('whatwg-fetch');
require('element-closest');
require('classlist.js');
+var killy = require('killy');
if (!('remove' in Element.prototype)) { // Firefox <23
Element.prototype.remove = function() {
if (this.parentNode) {
@@ -768,4 +769,6 @@ ready(function () {
window.addEventListener('hashchange', unfoldReply);
window.addEventListener('pagehide', wsShutdown);
+
+ killy.embed();
});