mirror of https://github.com/xwiki-labs/cryptpad
jshint compliance
This commit is contained in:
parent
ebfa2c2dc3
commit
64b51f3a80
|
@ -725,7 +725,7 @@ define([
|
||||||
common.setPadAttribute('channel', newSecret.channel, waitFor(function (err) {
|
common.setPadAttribute('channel', newSecret.channel, waitFor(function (err) {
|
||||||
if (err) { warning = true; }
|
if (err) { warning = true; }
|
||||||
}), href);
|
}), href);
|
||||||
var viewHash = Hash.getViewHashFromKeys(secret);
|
var viewHash = Hash.getViewHashFromKeys(newSecret);
|
||||||
newRoHref = '/' + parsed.type + '/#' + viewHash;
|
newRoHref = '/' + parsed.type + '/#' + viewHash;
|
||||||
common.setPadAttribute('roHref', newRoHref, waitFor(function (err) {
|
common.setPadAttribute('roHref', newRoHref, waitFor(function (err) {
|
||||||
if (err) { warning = true; }
|
if (err) { warning = true; }
|
||||||
|
|
Loading…
Reference in New Issue