Fix preview button tooltip in code

pull/1/head
yflory 7 years ago
parent fe9261f6a2
commit fd258fc277

@ -83,7 +83,11 @@ define([
}, 150);
$previewButton.removeClass('fa-question').addClass('fa-eye');
window.setTimeout(function () {
// setTimeout needed for tippy (tooltip), otherwise we have the browser's default
// tooltips
$previewButton.attr('title', Messages.previewButtonTitle);
});
var previewTo;
$previewButton.click(function () {
clearTimeout(previewTo);

Loading…
Cancel
Save