fix title for paths that end in /

This commit is contained in:
Chris Wanstrath 2011-08-23 10:40:38 -07:00
parent f2e53a9b5a
commit 0900cc4368

View File

@ -47,7 +47,7 @@ Chrome =
openURL: (url) ->
window.location = url
Chrome.title _.last url.split '/'
Chrome.title _.last url.replace(/\/$/,'').split '/'
# name - Command name, like "Find in file"
# shortcut - String command name, e.g.