From: Daniel Carl Date: Thu, 19 Dec 2013 18:41:06 +0000 (+0100) Subject: Reset hints number filter on new text filtering (#53). X-Git-Url: https://git.owens.tech/assets/wrapped.html/assets/wrapped.html/git?a=commitdiff_plain;h=3d43d8781e33ee34ce06edf53ee24e2d2d28b9cd;p=vimb.git Reset hints number filter on new text filtering (#53). --- diff --git a/src/hints.js b/src/hints.js index 590163e..418e1d4 100644 --- a/src/hints.js +++ b/src/hints.js @@ -507,6 +507,9 @@ var VbHint = (function(){ return show(); }, filter: function filter(text) { + /* remove previously set number filters to make the filter */ + /* easier to understand for the users */ + filterNum = 0; filterText = text || ""; return show(); },