diff --git a/src/main/Main.coffee b/src/main/Main.coffee index 2a2dc5232..5150cd6b4 100644 --- a/src/main/Main.coffee +++ b/src/main/Main.coffee @@ -261,15 +261,11 @@ Main = new Notice 'warning', msg # Parse HTML or skip it and start building from JSON. - unless Index.root - Main.initThread() - else if Index.root.firstElementChild and doc.contains(Index.root) + unless Conf['JSON Index'] and g.VIEW is 'index' + Main.initThread() + else Main.expectInitFinished = true $.event '4chanXInitFinished' - else - $.one d, 'PostsInserted', -> - Main.expectInitFinished = true - $.event '4chanXInitFinished' initThread: -> if (board = $ '.board')