mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Syntax correction
This commit is contained in:
parent
bfcfc9b60c
commit
cc2be6b623
@ -1757,7 +1757,7 @@ define([
|
||||
var parsed = Hash.parsePadUrl(metadata.roHref);
|
||||
// Forms: change "Open (read-only)" to "Open (as participant)"
|
||||
if (parsed.type === "form") {
|
||||
if (parsed.hash.indexOf('auditor') !== -1) {
|
||||
if (parsed.hashData.auditorKey) {
|
||||
$('.cp-app-drive-context-openro .cp-text').text(Messages.fc_open_formaud);
|
||||
} else {
|
||||
$('.cp-app-drive-context-openro .cp-text').text(Messages.fc_open_formro);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user