From 551a5e8f60d0f52588fc6f91f03ec28e316ffd3f Mon Sep 17 00:00:00 2001 From: sharpshark28 Date: Sun, 10 Jul 2016 17:57:21 -0500 Subject: [PATCH] Fixed spell rendering when < 3 characters in search --- public/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app.js b/public/app.js index ec581f4..8796cbe 100644 --- a/public/app.js +++ b/public/app.js @@ -269,6 +269,6 @@ $('body').on('change keyup cut paste', '[data-action-search]', e => { return spell.ranking > 0; }); RENDERSPELLS({spells: filteredData}); - } else RENDERSPELLS(data); + } else RENDERSPELLS({spells: data}); }, 0); });