Fix redirects to issue sidebar JSON after sign in
request.xhr? is unreliable because the X-Requested-With header can be missing if it is requested using `fetch`. This changes the check to check for the HTML request format
Showing
Please register or sign in to comment