Skip to content

Node.js based forum software built for the modern web

fix header tooltips

pichalite11ba5e2bcc43
diff --git a/public/src/app.js b/public/src/app.js
index d4a88929b1..65038d343e 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -351,6 +351,7 @@ app.cacheBuster = null;
if (!utils.isTouchDevice()) {
$(this).tooltip({
placement: 'bottom',
+ trigger: 'hover',
title: $(this).attr('title')
});
}
@@ -359,6 +360,7 @@ app.cacheBuster = null;
if (!utils.isTouchDevice()) {
$('#search-form').parent().tooltip({
placement: 'bottom',
+ trigger: 'hover',
title: $('#search-button i').attr('title')
});
}
@@ -366,6 +368,7 @@ app.cacheBuster = null;
if (!utils.isTouchDevice()) {
$('#user_dropdown').tooltip({
placement: 'bottom',
+ trigger: 'hover',
title: $('#user_dropdown').attr('title')
});
}