diff --git a/src/General/Main.coffee b/src/General/Main.coffee index a5ce8e63a..1d671ede9 100755 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -50,7 +50,7 @@ Main = Report.init() return when 'i.4cdn.org' - if Conf['Loop in New Tab'] and video = $ 'video' + if Conf['Loop in New Tab'] and document.body and video = $ 'video' Video.configure video $.on video, 'click', -> if !video.controls