From db1003e7a5194d2aa34a36272291923818661f8a Mon Sep 17 00:00:00 2001 From: makc Date: Thu, 18 May 2017 22:38:44 +0200 Subject: embed image links --- juick-www/src/main/static/scripts.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'juick-www/src/main/static') 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(); }); -- cgit v1.2.3