aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
author黄玄 <huxpro@gmail.com>2016-05-02 01:42:11 +0800
committer黄玄 <huxpro@gmail.com>2016-05-02 01:42:11 +0800
commite2a863405782709e8cd30227f8b1157acc30fa19 (patch)
tree2efd31355fd4d8711b0753d13698628d72e1b4ca /js
parent3d49b1dea362d3d05ae154d36927121d922207ad (diff)
downloadfosdem-2018-presentation-e2a863405782709e8cd30227f8b1157acc30fa19.tar
fosdem-2018-presentation-e2a863405782709e8cd30227f8b1157acc30fa19.tar.gz
add refused-to-display tips in link-preview-overlay
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 10c609e..e772516 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -1500,6 +1500,9 @@
'<div class="spinner"></div>',
'<div class="viewport">',
'<iframe src="'+ url +'"></iframe>',
+ '<small class="viewport-inner">',
+ 'This link is refused to display in a frame due to its policy',
+ '</small>',
'</div>'
].join('');