diff --git a/src/app/directives/tip.js b/src/app/directives/tip.js index ff364b35569..d9dd5145a62 100644 --- a/src/app/directives/tip.js +++ b/src/app/directives/tip.js @@ -20,13 +20,18 @@ function (angular, kbn) { angular .module('grafana.directives') - .directive('tip', function($compile) { + .directive('editorOptBool', function($compile) { return { restrict: 'E', link: function(scope, elem, attrs) { - var _t = ''; - elem.replaceWith($compile(angular.element(_t))(scope)); + var template = '