Commit df565197 authored by csillag's avatar csillag

Temporary(?) fix for FF <-> HTML jsChannel problems

parent 17a40baf
......@@ -29,6 +29,8 @@ class Annotator.Host extends Annotator
hostOrigin = '*'
else
hostOrigin = window.location.origin
# XXX: Hack for missing window.location.origin in FF
hostOrigin ?= window.location.protocol + "//" + window.location.host
@frame = $('<iframe></iframe>')
.css(visibility: 'hidden')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment