Also fix error when browsing from www.4chan.org/frames.
Fixes regression from 59bac43afb725c0960d6a40c6847489f3c09a43c.
This commit is contained in:
parent
12109375b5
commit
452dcb9852
@ -14,7 +14,8 @@ Main =
|
||||
return
|
||||
|
||||
# Don't run inside ad iframes.
|
||||
return if window.frameElement and window.frameElement.src is ''
|
||||
try
|
||||
return if window.frameElement and window.frameElement.src is ''
|
||||
|
||||
# Detect multiple copies of 4chan X
|
||||
$.on d, '4chanXInitFinished', ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user