mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 19:06:59 -05:00
Merge pull request #1603 from ThatOtherPerson/dismiss-popovers
Fix #1602
This commit is contained in:
commit
c9b01af21c
1 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,8 @@ handleNormalUrls = ->
|
|||
# Remove leading slashes and hash bangs (backward compatablility)
|
||||
url = href.replace(/^\//,'').replace('\#\!\/','')
|
||||
|
||||
$('.popover').popover 'hide'
|
||||
|
||||
# Instruct Backbone to trigger routing events
|
||||
app.router.navigate url, { trigger: true }
|
||||
|
||||
|
|
Loading…
Reference in a new issue