Browse Source

jshint compliance

master
yflory 2 years ago
parent
commit
64b51f3a80
1 changed files with 1 additions and 1 deletions
  1. 2
      www/common/cryptpad-common.js

2
www/common/cryptpad-common.js

@ -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…
Cancel
Save