|
|
|
@ -262,7 +262,6 @@
|
|
|
|
|
tooltip = $('<div class="fuzzyToolTip"></div>')
|
|
|
|
|
.css({
|
|
|
|
|
'position': 'absolute',
|
|
|
|
|
'right': '0px',
|
|
|
|
|
'top': '2em',
|
|
|
|
|
'background': 'white',
|
|
|
|
|
'border-radius': '4px',
|
|
|
|
@ -272,9 +271,9 @@
|
|
|
|
|
'box-shadow': '4px 4px 4px rgba(0, 0, 0, 0.5)',
|
|
|
|
|
'color': 'white',
|
|
|
|
|
'transition': 'opacity 0.25s',
|
|
|
|
|
'z-index': '30001'
|
|
|
|
|
'z-index': '30001',
|
|
|
|
|
'width': input.outerWidth() - 3,
|
|
|
|
|
})
|
|
|
|
|
.width(input.outerWidth() - 3)
|
|
|
|
|
.append(label).append(exact).append(fuzzy);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -384,6 +383,7 @@
|
|
|
|
|
tooltip
|
|
|
|
|
.insertAfter(toggle)
|
|
|
|
|
.on('mouseleave', removeToolTip);
|
|
|
|
|
tooltip.css('left', input.offset().left - tooltip.offset().left)
|
|
|
|
|
exact.on('click', (event) => highlightButton(exact, event));
|
|
|
|
|
fuzzy.on('click', (event) => highlightButton(fuzzy, event));
|
|
|
|
|
})
|
|
|
|
@ -395,6 +395,7 @@
|
|
|
|
|
tooltip
|
|
|
|
|
.insertAfter(toggle)
|
|
|
|
|
.on('mouseleave', removeToolTip);
|
|
|
|
|
tooltip.css('left', input.offset().left - tooltip.offset().left)
|
|
|
|
|
exact.on('click', (event) => highlightButton(exact, event))
|
|
|
|
|
fuzzy.on('click', (event) => highlightButton(fuzzy, event))
|
|
|
|
|
})
|
|
|
|
|