mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Merge branch 'staging' into soon
This commit is contained in:
commit
85cb36ad97
@ -1125,7 +1125,7 @@ define([
|
||||
|
||||
var priv = metadataMgr.getPrivateData();
|
||||
var useUnsafe = Util.find(priv, ['settings', 'security', 'unsafeLinks']);
|
||||
if (useUnsafe === true) {
|
||||
if (useUnsafe === true || APP.newSharedFolder) {
|
||||
return void window.open(APP.origin + href);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user