From e6280ac303025cb1a95e9c03f0203cf1fe213317 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 11 Jun 2021 20:48:50 +0530 Subject: [PATCH] suppress 'undefined' tooltip by passing empty string --- www/form/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/form/inner.js b/www/form/inner.js index 8614d849e..11d7453e0 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -1950,7 +1950,7 @@ define([ var idx = content.order.indexOf(uid); var addControl = function (type) { var btn = h('button.btn.btn-secondary', { - title: full ? undefined : Messages['form_type_'+type] + title: full ? '' : Messages['form_type_'+type] }, [ (TYPES[type] || STATIC_TYPES[type]).icon.cloneNode(), full ? h('span', Messages['form_type_'+type]) : undefined