Fix indentation

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

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

Loading…
Cancel
Save