From 742e7b6886d9282a0bf5a4cd2705c960d34c59eb Mon Sep 17 00:00:00 2001 From: Guillaume Virlet Date: Fri, 21 Feb 2020 19:23:15 +0100 Subject: [PATCH] Fix #305 - Fixing favorites not showing anymore in version 0.1.5 Signed-off-by: Guillaume Virlet --- src/favoritesController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/favoritesController.js b/src/favoritesController.js index 421684c5c..462182816 100644 --- a/src/favoritesController.js +++ b/src/favoritesController.js @@ -535,7 +535,7 @@ FavoritesController.prototype = { var beforeThis = null; var rawLower = rawName.toLowerCase(); $('#category-list > li').each(function() { - catName = $(this).attr('category'); + var catName = $(this).attr('category'); if (rawLower.localeCompare(catName) < 0) { beforeThis = $(this); return false;