Icon and placeholder text for TOC toolbar button

pull/1/head
David Benqué 4 years ago
parent abab44f7bc
commit 8ed1b2188e

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

Loading…
Cancel
Save