Commit 56cb3dae authored by Mikaël Salson's avatar Mikaël Salson
Browse files

segmenter.js: Don't close the segmenter when choosing option in a select

Thanks to Paulo Alexandre Borges Miranda
http://stackoverflow.com/a/19595496/1192742
parent 194f4a1e
......@@ -294,8 +294,8 @@ Segment.prototype = {
});
$('#bot-container')
.mouseleave(function(){
if (self.is_open){
.mouseleave(function(e){
if (e.relatedTarget != null && self.is_open){
var seg = $('#segmenter')
seg.stop().animate({height: 100}, 250);
self.is_open = false
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment