From 6777337e3c02e1ed1b79cc85b009291845f8cbd8 Mon Sep 17 00:00:00 2001
From: blavenie <benoit.lavenier@e-is.pro>
Date: Thu, 12 Oct 2017 16:41:19 +0200
Subject: [PATCH] fix JS Hint

---
 www/js/controllers/wot-controllers.js           | 4 +---
 www/plugins/es/js/services/settings-services.js | 5 ++---
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/www/js/controllers/wot-controllers.js b/www/js/controllers/wot-controllers.js
index 1969c3e5e..125666c4b 100644
--- a/www/js/controllers/wot-controllers.js
+++ b/www/js/controllers/wot-controllers.js
@@ -351,9 +351,7 @@ function WotLookupController($scope, $state, $timeout, $focus, $ionicPopover, $l
     //  Identity
     if (!state && item.pubkey) {
       // identity = self -> open the user wallet
-      state = csWallet.isUserPubkey(item.pubkey)
-        ? 'app.view_wallet'
-        : 'app.wot_identity';
+      state = csWallet.isUserPubkey(item.pubkey) ? 'app.view_wallet' : 'app.wot_identity';
     }
 
     if (state) {
diff --git a/www/plugins/es/js/services/settings-services.js b/www/plugins/es/js/services/settings-services.js
index 7fad3ccc9..cf1378959 100644
--- a/www/plugins/es/js/services/settings-services.js
+++ b/www/plugins/es/js/services/settings-services.js
@@ -74,9 +74,8 @@ angular.module('cesium.es.settings.services', ['cesium.services', 'cesium.es.htt
     return csSettings.data.plugins &&
       csSettings.data.plugins.es &&
       csSettings.data.plugins.es.enable &&
-      (angular.isDefined(csSettings.data.plugins.es.wot && csSettings.data.plugins.es.wot.enableMixedSearch)
-        ? csSettings.data.plugins.es.wot.enableMixedSearch
-        : true);
+      (angular.isDefined(csSettings.data.plugins.es.wot && csSettings.data.plugins.es.wot.enableMixedSearch) ?
+        csSettings.data.plugins.es.wot.enableMixedSearch : true);
   };
 
   function copyUsingSpec(data, copySpec) {
-- 
GitLab