Fix referenceError introduced in latest commit

This commit is contained in:
yflory 2021-03-22 18:03:41 +01:00
parent 815bd5961e
commit a0155ad689
1 changed files with 1 additions and 1 deletions

View File

@ -1687,7 +1687,7 @@ define([
sframeChan.on('Q_PASSWORD_CHECK', function (pw, cb) {
Cryptpad.isNewChannel(currentPad.href, pw, function (e, isNew) {
if (isNew === false) {
var channel = Hash.hrefToHexChannelId(currentPad.href, pw);
var channel = Utils.Hash.hrefToHexChannelId(currentPad.href, pw);
nThen(function (w) {
// If the pad is stored, update its data