ESlint key-spacing, no-trailing-spaces

This commit is contained in:
Peter Jaszkowiak
2017-02-18 01:27:46 -07:00
parent 34e233fe1d
commit 277a7fb8b4
64 changed files with 142 additions and 143 deletions

View File

@@ -158,7 +158,7 @@ $(document).ready(function () {
app.alertError('[[global:please_log_in]]');
app.previousUrl = url;
window.location.href = config.relative_path + '/login';
} else if (status === 302 || status === 308) {
if (data.responseJSON && data.responseJSON.external) {
window.location.href = data.responseJSON.external;