From 0e10e3fd810e322fe0518769bcbebc6e89854457 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Mon, 20 Jan 2014 22:45:34 +0100 Subject: [PATCH] Fix index search going badly when inputing only spaces. --- src/General/Index.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 24fc49315..b1544177e 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -393,6 +393,7 @@ Index = else pageNum = Index.getCurrentPage() else + return unless Index.searchInput.dataset.searching pageNum = Index.pageBeforeSearch delete Index.pageBeforeSearch <% if (type === 'userscript') { %>