Skip to content
Snippets Groups Projects
Commit f519ab9f authored by Monish Deb's avatar Monish Deb
Browse files

#1398: Option to open navigation item in new window (if present)

parent 36cf33ca
Branches
Tags
No related merge requests found
......@@ -471,7 +471,7 @@
}
function attr(el, item) {
var ret = [], attr = _.cloneDeep(item.attr || {}), a = ['rel', 'accesskey'];
var ret = [], attr = _.cloneDeep(item.attr || {}), a = ['rel', 'accesskey', 'target'];
if (el === 'a') {
attr = _.pick(attr, a);
attr.href = item.url || "#";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment