From cf2197a6808c4f4aa60d853ecf6e320ad087edb4 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 20 Sep 2014 12:59:08 -0700 Subject: [PATCH] remove unnecessary conditional compilation --- src/General/Index.coffee | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 842e68324..7f476c91d 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -594,12 +594,8 @@ Index = return unless Index.searchInput.dataset.searching pageNum = Index.pageBeforeSearch delete Index.pageBeforeSearch - <% if (type === 'userscript') { %> # XXX https://github.com/greasemonkey/greasemonkey/issues/1571 Index.searchInput.removeAttribute 'data-searching' - <% } else { %> - delete Index.searchInput.dataset.searching - <% } %> Index.sort() # Go to the last available page if we were past the limit. pageNum = Math.min pageNum, Index.getMaxPageNum() if Conf['Index Mode'] isnt 'all pages'