From 3e18f812db0707c8b133caf7f5a4978a4a566cfd Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 11 Feb 2017 18:22:13 -0500 Subject: [PATCH] lint errors --- src/app/settings/settingsController.js | 2 +- src/app/settings/settingsTwoFactorController.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/settings/settingsController.js b/src/app/settings/settingsController.js index c7021531ad1..c4479733b99 100644 --- a/src/app/settings/settingsController.js +++ b/src/app/settings/settingsController.js @@ -59,7 +59,7 @@ }); twoFactorModal.result.then(function (enabled) { - if (enabled == null) { + if (enabled === null) { return; } diff --git a/src/app/settings/settingsTwoFactorController.js b/src/app/settings/settingsTwoFactorController.js index 0c8d4d3b033..fbf68561a32 100644 --- a/src/app/settings/settingsTwoFactorController.js +++ b/src/app/settings/settingsTwoFactorController.js @@ -80,7 +80,7 @@ '
' + printContent + '
'); w.print(); w.close(); - } + }; $scope.close = function () { $uibModalInstance.close(!_profile.extended ? null : _profile.extended.twoFactorEnabled);