Fixed onAnnotationClick handler message.
This commit is contained in:
parent
7f9fdc7253
commit
629827f133
1 changed files with 2 additions and 0 deletions
|
@ -656,6 +656,8 @@ module.exports = class SpellView extends CocoView
|
|||
session.addGutterDecoration index, 'comment-line'
|
||||
|
||||
onAnnotationClick: ->
|
||||
# @ is the gutter element
|
||||
msg = "Edit line #{$(@).index() + 1} to fix it."
|
||||
alertBox = $("<div class='alert alert-info fade in'>#{msg}</div>")
|
||||
offset = $(@).offset()
|
||||
offset.left -= 162 # default width of the Bootstrap alert here
|
||||
|
|
Reference in a new issue