add target _blank

This commit is contained in:
Simon Vieille
2020-09-12 16:32:10 +02:00
parent 918c55da3e
commit b6c6fc2486
5 changed files with 18 additions and 12 deletions
+4
View File
@@ -38,6 +38,10 @@ var updateTopMenu = function() {
appShown.push(app)
navigationApps.append(app.outerHTML)
}
if (targetBlankApps.indexOf(dataId) !== -1) {
jQuery(app).children('a').attr('target', '_blank');
}
})
var rightHeaderWidth = jQuery('.header-right').outerWidth()