mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Styling
This commit is contained in:
parent
82852d1e52
commit
b17d9c4ca0
@ -1070,10 +1070,7 @@ define([
|
||||
var inDrive = /^\/drive/;
|
||||
var isDriveContext = inDrive.test(privateData.pathname || '');
|
||||
var isReadOnlyContext = Boolean(privateData.readOnly);
|
||||
var isReadOnlyFormResponse = privateData.app === 'form' &&
|
||||
!privateData.form_auditorKey &&
|
||||
((!privateData.canEdit) ||
|
||||
(isReadOnlyContext && !privateData.form_auditorHash));
|
||||
var isReadOnlyFormResponse = privateData.app === 'form' && !privateData.form_auditorKey && ((!privateData.canEdit) || (isReadOnlyContext && !privateData.form_auditorHash));
|
||||
var openScope = privateData.channel;
|
||||
if (isDriveContext || isReadOnlyFormResponse || !openScope) {
|
||||
showCrowdfunding();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user