Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
This commit is contained in:
@@ -218,7 +218,7 @@ define([
|
||||
var patharr = window.location.hash.match(/[?&]path=([^&]+)/);
|
||||
var namearr = window.location.hash.match(/[?&]name=([^&]+)/);
|
||||
common.initialPath = patharr[1] || undefined;
|
||||
common.initialName = namearr[1] ? decodeURIComponent(namearr[1]) : undefined;
|
||||
common.initialName = namearr && namearr[1] ? decodeURIComponent(namearr[1]) : undefined;
|
||||
window.location.hash = '';
|
||||
}
|
||||
if (!secretHash && !/#/.test(window.location.href)) {
|
||||
|
||||
Reference in New Issue
Block a user