Commit 72950d52 authored by Georg Krause's avatar Georg Krause Committed by JuniorJPDJ
Browse files

Fix weird behavior on external Links in Sidebar

parent 4c64694d
......@@ -701,7 +701,11 @@ export default {
// works as expected
const link = $($el).closest('a')
const url = link.attr('href')
self.$router.push(url)
if (url.startsWith('http')) {
window.open(url, '_blank').focus()
} else {
self.$router.push(url)
}
$(self.$el).find(selector).dropdown('hide')
}
})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment