Index: lams_central/web/includes/javascript/portrait.js =================================================================== diff -u -r60d9a173d5590295376322fc3e857ae2dca37717 -r8e090b3ddf269cdffececa4bc55a9333da5b0858 --- lams_central/web/includes/javascript/portrait.js (.../portrait.js) (revision 60d9a173d5590295376322fc3e857ae2dca37717) +++ lams_central/web/includes/javascript/portrait.js (.../portrait.js) (revision 8e090b3ddf269cdffececa4bc55a9333da5b0858) @@ -20,7 +20,7 @@ STYLE_LARGE = 'large', STYLE_XLARGE = 'xlarge'; -// Add a portrait to an existing div as specified by selector +// Add a portrait to an existing div as specified by selector. function addPortrait( selector, portraitId, userId, size, round, LAMS_URL ) { var isRound = round == null ? true : round; if ( portraitId && portraitId > 0) { @@ -55,6 +55,7 @@ html: true, trigger: 'hover focus', title: element.dataset.fullname, + delay: { "show": 700, "hide": 100 }, container: 'body' // ensures popovers are not clipped within jqgrid tables }); element.classList.remove('new-popover'); @@ -64,7 +65,7 @@ // Define the element to have a popover/tooltip to display the learner's portrait. Call in the ajaxProcessing (tablesorter) or // in a formatter function (jqgrid). Use with initializePortraitPopover. Displays the fullName and portrait in the popover when the -// user hovers on linkText. Usually linkText === fullName +// user hovers on linkText. Usually linkText === fullName. function definePortraitPopover(portraitId, userId, fullName, linkText) { if ( ! linkText ) linkText = fullName;