update components

This commit is contained in:
Luke Pulverenti 2016-12-27 16:53:48 -05:00
parent 942a0512d8
commit e34c5d4388
9 changed files with 41 additions and 35 deletions

View file

@ -42,7 +42,7 @@ define(['globalize', 'loading', 'alert'], function (globalize, loading, alert) {
loading.hide();
if (response.status == 404) {
if (response.status === 404) {
// User doesn't exist
alert({
text: globalize.translate('GuestUserNotFound')
@ -138,7 +138,7 @@ define(['globalize', 'loading', 'alert'], function (globalize, loading, alert) {
});
}
else if (currentConnectUsername != enteredConnectUsername) {
else if (currentConnectUsername !== enteredConnectUsername) {
// Add/Update connect info
return apiClient.ajax({