mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 10:26:15 -04:00
toolbar: don't show the "saved revision" button in timeslider
The saved revision "star" button appeared in the timeslider toolbar too. This change introduces a second flag "page" in toolbar.menu(), which controls whether the toolbar is being drawn for a pad or in the timeslider page. Fixes #3767.
This commit is contained in:
parent
0d2854571d
commit
8b2fe75867
3 changed files with 11 additions and 9 deletions
|
@ -82,7 +82,7 @@
|
|||
<div class="editbarright toolbar" id="editbar">
|
||||
<% e.begin_block("timesliderEditbarRight"); %>
|
||||
<ul>
|
||||
<%- toolbar.menu(settings.toolbar.timeslider, true, 'timeslider-right') %>
|
||||
<%- toolbar.menu(settings.toolbar.timeslider, true, 'timeslider-right', 'timeslider') %>
|
||||
</ul>
|
||||
<% e.end_block(); %>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue