Make sure the tooltip is only visible on hover
Signed-off-by: Liviu-Mihail Concioiu <liviu.concioiu@gmail.com>
This commit is contained in:
parent
00e34276bc
commit
b68cc42d9a
@ -198,10 +198,10 @@ export function addDateTimePicker () {
|
||||
|
||||
// Add a tip regarding entering MySQL allowed-values for TIME and DATE data-type
|
||||
if (this.classList.contains('timefield')) {
|
||||
bootstrap.Tooltip.getOrCreateInstance(this, { title: window.Messages.strMysqlAllowedValuesTipTime })
|
||||
bootstrap.Tooltip.getOrCreateInstance(this, { title: window.Messages.strMysqlAllowedValuesTipTime, trigger: 'hover' })
|
||||
.setContent({ '.tooltip-inner': window.Messages.strMysqlAllowedValuesTipTime });
|
||||
} else if (this.classList.contains('datefield')) {
|
||||
bootstrap.Tooltip.getOrCreateInstance(this, { title: window.Messages.strMysqlAllowedValuesTipDate })
|
||||
bootstrap.Tooltip.getOrCreateInstance(this, { title: window.Messages.strMysqlAllowedValuesTipDate, trigger: 'hover' })
|
||||
.setContent({ '.tooltip-inner': window.Messages.strMysqlAllowedValuesTipDate });
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user