jshint compliance
This commit is contained in:
parent
35bfa1dce4
commit
bd1db735dd
@ -119,10 +119,10 @@ $(function () {
|
|||||||
|
|
||||||
if (isMainApp()) {
|
if (isMainApp()) {
|
||||||
if (typeof(Pages[pathname]) === 'function') {
|
if (typeof(Pages[pathname]) === 'function') {
|
||||||
var $body = $('body').html(h('body', Pages[pathname]()).innerHTML);
|
$('body').html(h('body', Pages[pathname]()).innerHTML);
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
require(['/whiteboard/main.js'], function () {
|
require(['/whiteboard/main.js'], function () {
|
||||||
$body.removeClass('noscroll');
|
$('body').removeClass('noscroll');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user