mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 02:05:53 +01:00
search input tooltip WIP
This commit is contained in:
@@ -16,6 +16,17 @@ const $closeSearchButton = $("#close-search-button");
|
||||
function showSearch() {
|
||||
$searchBox.slideDown();
|
||||
$searchInput.focus();
|
||||
|
||||
$searchBox.tooltip({
|
||||
trigger: 'focus',
|
||||
html: true,
|
||||
title: 'Hello! <a href="http://google.com" class="external">google</a>',
|
||||
placement: 'right',
|
||||
delay: {
|
||||
show: 500, // necessary because sliding out may cause wrong position
|
||||
hide: 500
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function hideSearch() {
|
||||
|
||||
Reference in New Issue
Block a user