From 7fa8ba6a5ae841657d8198285e8f59daf94f1d6b Mon Sep 17 00:00:00 2001 From: antelle Date: Fri, 15 Mar 2019 19:19:53 +0100 Subject: [PATCH] fix eslint --- app/scripts/models/entry-model.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/scripts/models/entry-model.js b/app/scripts/models/entry-model.js index ac2980ba..587a3f0c 100644 --- a/app/scripts/models/entry-model.js +++ b/app/scripts/models/entry-model.js @@ -636,9 +636,8 @@ const EntryModel = Backbone.Model.extend({ }, getRank: function(searchString) { - if (!searchString) { - // no search string give, so rank all items the same + // no search string given, so rank all items the same return 0; }