|
|
@@ -48,9 +48,11 @@ function dashLink($compile, $sanitize, linkSrv) {
|
|
|
function update() {
|
|
|
var linkInfo = linkSrv.getAnchorInfo(link);
|
|
|
span.text(linkInfo.title);
|
|
|
- anchor.attr('href', linkInfo.href);
|
|
|
- sanitizeAnchor();
|
|
|
-
|
|
|
+ if (!link.asDropdown) {
|
|
|
+ anchor.attr('href', linkInfo.href);
|
|
|
+ sanitizeAnchor();
|
|
|
+ }
|
|
|
+ elem.find('a').attr('data-placement', 'bottom');
|
|
|
// tooltip
|
|
|
elem.find('a').tooltip({
|
|
|
title: $sanitize(scope.link.tooltip),
|