suppress 'undefined' tooltip by passing empty string

This commit is contained in:
ansuz 2021-06-11 20:48:50 +05:30
parent bc880d6288
commit e6280ac303

View file

@ -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