Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/chaplin/views/layout.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ module.exports = class Layout extends View
if @settings.openExternalToBlank
# Open external links normally in a new tab.
event.preventDefault()
@openWindow href el
@openWindow href, el
return

# Pass to the router, try to route the path internally.
Expand All @@ -142,9 +142,9 @@ module.exports = class Layout extends View
event.preventDefault()
return

# Handle all browsing context resources
openWindow: (href, el) ->
window.open href
# Handle all browsing context resources
openWindow: (href, el) ->
window.open href

# Region management
# -----------------
Expand Down