Commit eaad4e1f authored by Jake Hartnell's avatar Jake Hartnell

Add tooltips on adder buttons.

Change text of the toolbar button to "New Note."
parent 6c33753d
......@@ -49,7 +49,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin
state = not @annotator.visibleHighlights
@annotator.setVisibleHighlights state
,
"title": "New Comment"
"title": "New Note"
"class": "h-icon-insert-comment"
"on":
"click": (event) =>
......
......@@ -37,8 +37,8 @@ module.exports = class Annotator.Guest extends Annotator
html: jQuery.extend {}, Annotator::html,
adder: '''
<div class="annotator-adder">
<button class="h-icon-insert-comment" data-action="comment"></button>
<button class="h-icon-border-color" data-action="highlight"></button>
<button class="h-icon-insert-comment" data-action="comment" title="New Note"></button>
<button class="h-icon-border-color" data-action="highlight" title="Highlight"></button>
</div>
'''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment