diff --git a/resources/js/modules/functions.ts b/resources/js/modules/functions.ts index 90291a8e95..2be62682bd 100644 --- a/resources/js/modules/functions.ts +++ b/resources/js/modules/functions.ts @@ -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 }); } });