Use the bounce app for opening a link with the right click
This commit is contained in:
parent
dec870d2bd
commit
190dff1c9b
@ -29,7 +29,8 @@ define(['/common/cryptpad-common.js'], function (Cryptpad) {
|
|||||||
if (anchor) {
|
if (anchor) {
|
||||||
var href = anchor.getAttribute('href');
|
var href = anchor.getAttribute('href');
|
||||||
if (href) {
|
if (href) {
|
||||||
window.open(href);
|
var bounceHref = window.location.origin + '/bounce/#' + encodeURIComponent(href);
|
||||||
|
window.open(bounceHref);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user