1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-17 03:54:16 +02:00

don't show error message while iframe fades in #1577

This commit is contained in:
Hakim El Hattab
2016-12-13 16:16:51 +01:00
parent 001d4d94d3
commit f2bd9d2970
3 changed files with 28 additions and 2 deletions

View File

@@ -1604,7 +1604,7 @@
'<div class="viewport">',
'<iframe src="'+ url +'"></iframe>',
'<small class="viewport-inner">',
'This link is refused to display in a frame due to its policy',
'<span class="x-frame-error">Unable to load iframe. This is likely due to the site\'s policy (x-frame-options).</span>',
'</small>',
'</div>'
].join('');