From 515214aed1682846369bd2f999ddc6ba87ce47b5 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 19 Oct 2017 11:59:01 +0200 Subject: [PATCH] Use present mode in embed code --- www/common/toolbar3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/toolbar3.js b/www/common/toolbar3.js index 69429f760..3115f10ab 100644 --- a/www/common/toolbar3.js +++ b/www/common/toolbar3.js @@ -443,7 +443,7 @@ define([ $shareBlock.find('a.cp-toolbar-share-view-embed').click(function () { var url = origin + pathname + '#' + hashes.viewHash; var parsed = Cryptpad.parsePadUrl(url); - url = origin + parsed.getUrl({embed: true}); + url = origin + parsed.getUrl({embed: true, present: true}); // Alertify content var $content = $('
'); $('', {'style':'display:none;'}).appendTo($content);