Fix indentation

pull/1/head
yflory 5 years ago
parent f253e19575
commit e90bdb8b7e

@ -288,7 +288,7 @@ define([
var newHref;
nThen(function (w) {
if (!parsed.hashData.key && parsed.hashData.channel) {
if (parsed.hashData.key || !parsed.hashData.channel) { return; }
var edit = parsed.hashData.mode === 'edit';
Cryptpad.getPadDataFromChannel({
channel: parsed.hashData.channel,
@ -312,7 +312,6 @@ define([
// We have good data, keep the hash in memory
newHref = edit ? res.href : (res.roHref || res.href);
}));
}
}).nThen(function (w) {
if (newHref) {
// Get the options (embed, present, etc.) of the hidden hash

Loading…
Cancel
Save