From 64b51f3a807c145d6f20522d6dbaef024d4eed23 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 18 Jul 2018 14:25:48 +0200 Subject: [PATCH] jshint compliance --- www/common/cryptpad-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 430f4c99f..02f7c80a7 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -725,7 +725,7 @@ define([ common.setPadAttribute('channel', newSecret.channel, waitFor(function (err) { if (err) { warning = true; } }), href); - var viewHash = Hash.getViewHashFromKeys(secret); + var viewHash = Hash.getViewHashFromKeys(newSecret); newRoHref = '/' + parsed.type + '/#' + viewHash; common.setPadAttribute('roHref', newRoHref, waitFor(function (err) { if (err) { warning = true; }