Lint compliance

This commit is contained in:
yflory
2018-04-27 18:04:21 +02:00
parent 64c85fe548
commit 2451174870
6 changed files with 4 additions and 6 deletions

View File

@@ -99,7 +99,7 @@ define([
try {
var parsed = Hash.parsePadUrl(window.location.href);
if (!parsed.hashData) { return; }
var chan = Hash.hrefToHexChannelId(data.href);
var chan = Hash.hrefToHexChannelId(window.location.href);
// Decrypt
var keyStr = parsed.hashData.key;
var cryptor = Crypto.createEditCryptor(keyStr);