Fix file manager with a chosen hash

This commit is contained in:
yflory
2016-12-12 18:24:45 +01:00
parent b7f2ef97c7
commit 8e6830d080
2 changed files with 2 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ define([
var $iframe = $('#pad-iframe').contents();
var ifrw = $('#pad-iframe')[0].contentWindow;
var hash = window.location.hash || localStorage.FS_hash;
var hash = window.location.hash.slice(1) || localStorage.FS_hash;
var secret = Cryptpad.getSecrets(hash);
var ROOT = "root";