Display caret on expandable group after the string

issue11042
review385501002
This commit is contained in:
Cédric Krier committed 2021-12-21 23:11:23 +01:00
1 parent f70fa8e80d
commit ff5cfcdcea
1 file changed
+3 -5
+3 -5
View File
@@ -932,14 +932,12 @@ function eval_pyson(value){
'aria-controls': this.collapsible.attr('id'),
'aria-expanded': attributes.expandable == '1',
}).appendTo(title);
link.append(jQuery('<div/>', {
'class': 'btn btn-sm',
}).append(jQuery('<span/>', {
'class': 'caret',
})));
if (attributes.string) {
link.text(attributes.string);
}
link.append(jQuery('<span/>', {
'class': 'caret',
}));
},
add: function(widget) {
this.body.empty();