mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 20:56:19 +01:00
...
This commit is contained in:
parent
dcc0818e81
commit
d7efe7d8f9
1 changed files with 1 additions and 0 deletions
|
|
@ -165,6 +165,7 @@ def on_iframe_ready(self, data):
|
|||
|
||||
def create_wrapped_iframe(handlers, bootstrap_text, entry_point, kw):
|
||||
if ':' in entry_point:
|
||||
# this is a document loaded via the fake protocol from web_view.py
|
||||
kw.src = entry_point
|
||||
kw.sandbox = (kw.sandbox or '') + ' allow-same-origin'
|
||||
iframe = E.iframe(**kw)
|
||||
|
|
|
|||
Loading…
Reference in a new issue