Stopped refresh to top when `closeOnSelect: false`
@@ -3155,7 +3155,7 @@ the specific language governing permissions and limitations under the Apache Lic
}
});
- if (this.highlight() == -1 && noHighlightUpdate !== false){
+ if (this.highlight() == -1 && noHighlightUpdate !== false && this.opts.closeOnSelect === true){
self.highlight(0);