Browse Source

InfoPopover: Fixes transclude undefined error (#17063)

Torkel Ödegaard 6 years ago
parent
commit
6c7224c74d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/core/components/info_popover.ts

+ 1 - 1
public/app/core/components/info_popover.ts

@@ -8,7 +8,7 @@ export function infoPopover() {
     restrict: 'E',
     restrict: 'E',
     template: '<i class="fa fa-info-circle"></i>',
     template: '<i class="fa fa-info-circle"></i>',
     transclude: true,
     transclude: true,
-    link: (scope: any, elem: any, attrs: any, transclude: any) => {
+    link: (scope: any, elem: any, attrs: any, ctrl: any, transclude: any) => {
       const offset = attrs.offset || '0 -10px';
       const offset = attrs.offset || '0 -10px';
       const position = attrs.position || 'right middle';
       const position = attrs.position || 'right middle';
       let classes = 'drop-help drop-hide-out-of-bounds';
       let classes = 'drop-help drop-hide-out-of-bounds';