mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
fix demo when json is disabled
This commit is contained in:
parent
4abe395d16
commit
f922fc35bc
@ -80,7 +80,7 @@ function doEncrypt() {
|
||||
v.ciphertext = ct;
|
||||
v.adata = '';
|
||||
} else {
|
||||
v.ciphertext = ct.match(/ct:"([^"]*)"/)[1]; //"
|
||||
v.ciphertext = ct.match(/"ct":"([^"]*)"/)[1]; //"
|
||||
}
|
||||
|
||||
v.plaintext = '';
|
||||
|
Loading…
Reference in New Issue
Block a user