From 7765619458542799d4494b3a78836a69fa60ea0e Mon Sep 17 00:00:00 2001 From: Michael Weibel Date: Mon, 3 Apr 2017 18:46:59 +0200 Subject: Update candy-demo to work again Previous host connected to swissjabber which doesn't seem to work again. This uses a self hosted ejabberd instance. --- public/application.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/application.js b/public/application.js index 969a108..2d93b5f 100644 --- a/public/application.js +++ b/public/application.js @@ -15,8 +15,7 @@ $(document).ready(function() { } } else { $('html,body').stop().animate({'scrollTop': Math.floor(showcase.offset().top) + 1}); - var protocol = 'https:' === document.location.protocol ? 'https' : 'http'; - showcase.html(''); + showcase.html(''); showcase.addClass('demomode'); $(this).text('ONLINE').addClass('demomode'); $('#demoarrow').stop(true, true).fadeIn(); -- cgit v1.2.3