Icon and placeholder text for TOC toolbar button

This commit is contained in:
David Benqué 2020-08-06 13:50:25 +01:00
parent abab44f7bc
commit 8ed1b2188e
1 changed files with 2 additions and 2 deletions

View File

@ -440,12 +440,12 @@ define([
} else {
$toc.hide();
}
Messages.pad_tocHide = "TOC"; // XXX
Messages.pad_tocHide = "Outline"; // XXX
var $tocButton = framework._.sfCommon.createButton('', true, {
drawer: false,
text: Messages.pad_tocHide,
name: 'pad_toc',
icon: 'fa-newspaper-o',
icon: 'fa-list-ul',
}, function () {
$tocButton.removeClass('cp-toolbar-button-active');
$toc.toggle();