Fix comparison warnings.

This commit is contained in:
Boris Grozev
2015-09-10 22:26:29 -05:00
parent b0795e5db9
commit 09eaa0d303
16 changed files with 25 additions and 28 deletions

View File

@@ -755,7 +755,7 @@ UI.showLoginPopup = function(callback) {
"dialog.Ok",
function (e, v, m, f) {
if (v) {
if (f.username !== null && f.password != null) {
if (f.username && f.password) {
callback(f.username, f.password);
}
}