Hi is there any way to open external divs in new Link.
The current code is :-
Discourse.ExternalNavItem = Discourse.NavItem.extend({
href : function() {
return this.get('href');
}.property('href')
});
Discourse.ExternalNavItem.create({href: wordlisturl, name: 'mywordlist'});
But i want to open the link in new tab. How can we add target="_blank".
Any help will be appreciated. Thanks in advance.