From 260272cbee788bde0b9250bdfac4059f4227c8b2 Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Tue, 13 Sep 2016 02:29:25 +0200 Subject: [PATCH] Update typeahead --- vendor/assets/javascripts/typeahead.bundle.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vendor/assets/javascripts/typeahead.bundle.js b/vendor/assets/javascripts/typeahead.bundle.js index bceb0a2bf..b68ec30f3 100644 --- a/vendor/assets/javascripts/typeahead.bundle.js +++ b/vendor/assets/javascripts/typeahead.bundle.js @@ -1839,6 +1839,9 @@ this.$node.on("mouseover", this.selectors.selectable, function() { that.setCursor($(this)); }); + this.$node.on("mouseleave", function() { + that._removeCursor(); + }); _.each(this.datasets, function(dataset) { dataset.onSync("asyncRequested", that._propagate, that).onSync("asyncCanceled", that._propagate, that).onSync("asyncReceived", that._propagate, that).onSync("rendered", that._onRendered, that).onSync("cleared", that._onCleared, that); });