Use the bounce app for opening a link with the right click

pull/1/head
Caleb James DeLisle 2017-08-28 17:50:55 +02:00
parent dec870d2bd
commit 190dff1c9b
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@ define(['/common/cryptpad-common.js'], function (Cryptpad) {
if (anchor) {
var href = anchor.getAttribute('href');
if (href) {
window.open(href);
var bounceHref = window.location.origin + '/bounce/#' + encodeURIComponent(href);
window.open(bounceHref);
}
}
}