File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -281,14 +281,14 @@ function encodeQueryParam(name, first = false) {
281281function encodeQueryString() {
282282 // We got data from localStorage. So, if no data, no query string!
283283 if (!window.localStorage) return('');
284- query = encodeQueryParam('iemail', true) + encodeQueryParam('iid');
284+ query = encodeQueryParam('login', true);
285+ query += encodeQueryParam('email') + encodeQueryParam('displayname');
286+ query += encodeQueryParam('firstname') + encodeQueryParam('lastname');
287+ query += encodeQueryParam('iemail') + encodeQueryParam('iid');
285288 query += encodeQueryParam('ifirstname') + encodeQueryParam('ilastname');
286289 query += encodeQueryParam('institution');
287290 query += encodeQueryParam('icourse') + encodeQueryParam('ictitle');
288291 query += encodeQueryParam('iurl') + encodeQueryParam('iref');
289- query += encodeQueryParam('login');
290- query += encodeQueryParam('email') + encodeQueryParam('displayname');
291- query += encodeQueryParam('firstname') + encodeQueryParam('lastname');
292292 // Detect if we have the Sepia or Night theme
293293 // TODO: refine this because it is *always* detected
294294 //if (document.getElementsByClassName('color-theme-1')) {
You can’t perform that action at this time.
0 commit comments