1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-28 18:30:53 +02:00

Prevent tooltip visibility during page load.

This commit is contained in:
Cameron
2021-02-09 11:07:58 -08:00
parent 0abefed880
commit 5842e51f15
2 changed files with 2 additions and 1 deletions

View File

@@ -3064,7 +3064,7 @@ class e_form
$ret = ''; $ret = '';
$ret .= ($mode === 'before') ? '<i class="admin-ui-help-tip far fa-question-circle"><!-- --></i>' : ''; $ret .= ($mode === 'before') ? '<i class="admin-ui-help-tip far fa-question-circle"><!-- --></i>' : '';
$ret .= '<div class="field-help" data-placement="left">'.defset($text,$text).'</div>'; $ret .= '<div class="field-help" data-placement="left" style="display:none">'.defset($text,$text).'</div>'; // display:none to prevent visibility during page load.
return $ret; return $ret;
} }

View File

@@ -125,6 +125,7 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
fade: true, fade: true,
html: true, html: true,
opacity: 1.0, opacity: 1.0,
// trigger: 'hover focus',
placement: placement, placement: placement,
container: 'body', container: 'body',
delay: { delay: {