Skip to content

Commit b049ab6

Browse files
Better upgrade notification message.
1 parent ed790a4 commit b049ab6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content_scripts/vimium_frontend.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,10 +1005,10 @@ HUD =
10051005
HUD.displayElement().style.display = ""
10061006

10071007
showUpgradeNotification: (version) ->
1008-
HUD.upgradeNotificationElement().innerHTML = "Vimium has been updated to
1008+
HUD.upgradeNotificationElement().innerHTML = "Vimium has been upgraded to #{version}. See
10091009
<a class='vimiumReset'
10101010
href='https://github.com/philc/vimium#release-notes'>
1011-
#{version}</a>.<a class='vimiumReset close-button' href='#'>&times;</a>"
1011+
what's new</a>.<a class='vimiumReset close-button' href='#'>&times;</a>"
10121012
links = HUD.upgradeNotificationElement().getElementsByTagName("a")
10131013
links[0].addEventListener("click", HUD.onUpdateLinkClicked, false)
10141014
links[1].addEventListener "click", (event) ->

0 commit comments

Comments
 (0)