fix helper.aNewPad() return value

This commit is contained in:
Richard Hansen 2022-04-22 20:13:55 -04:00 committed by SamTV12345
parent a080b50f8c
commit 15f79489bd

View file

@ -181,7 +181,9 @@ const helper = {};
helper.padOuter$.fx.off = true;
helper.padInner$.fx.off = true;
return opts.id;
// Don't return opts.id -- the server might have redirected the browser to a transformed version
// of the requested pad ID.
return helper.padChrome$.window.clientVars.padId;
};
helper.newAdmin = async (page) => {