From bd1db735ddf6bfa7afc2e0a285319626a4bd676b Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 22 Jun 2017 16:02:20 +0200 Subject: [PATCH] jshint compliance --- customize.dist/template.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/customize.dist/template.js b/customize.dist/template.js index 5f177d0e2..24d859633 100644 --- a/customize.dist/template.js +++ b/customize.dist/template.js @@ -119,10 +119,10 @@ $(function () { if (isMainApp()) { if (typeof(Pages[pathname]) === 'function') { - var $body = $('body').html(h('body', Pages[pathname]()).innerHTML); + $('body').html(h('body', Pages[pathname]()).innerHTML); setTimeout(function () { require(['/whiteboard/main.js'], function () { - $body.removeClass('noscroll'); + $('body').removeClass('noscroll'); }); }); return;