@@ -96,14 +96,14 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
96
96
var startSym = $interpolate . startSymbol ( ) ;
97
97
var endSym = $interpolate . endSymbol ( ) ;
98
98
var template =
99
- '<' + directiveName + '-popup ' +
99
+ '<div ' + directiveName + '-popup ' +
100
100
'title="' + startSym + 'tt_title' + endSym + '" ' +
101
101
'content="' + startSym + 'tt_content' + endSym + '" ' +
102
102
'placement="' + startSym + 'tt_placement' + endSym + '" ' +
103
103
'animation="tt_animation" ' +
104
104
'is-open="tt_isOpen"' +
105
105
'>' +
106
- '</' + directiveName + '-popup >';
106
+ '</div >' ;
107
107
108
108
return {
109
109
restrict : 'EA' ,
@@ -321,7 +321,7 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
321
321
322
322
. directive ( 'tooltipPopup' , function ( ) {
323
323
return {
324
- restrict : 'E ' ,
324
+ restrict : 'EA ' ,
325
325
replace : true ,
326
326
scope : { content : '@' , placement : '@' , animation : '&' , isOpen : '&' } ,
327
327
templateUrl : 'template/tooltip/tooltip-popup.html'
@@ -334,7 +334,7 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
334
334
335
335
. directive ( 'tooltipHtmlUnsafePopup' , function ( ) {
336
336
return {
337
- restrict : 'E ' ,
337
+ restrict : 'EA ' ,
338
338
replace : true ,
339
339
scope : { content : '@' , placement : '@' , animation : '&' , isOpen : '&' } ,
340
340
templateUrl : 'template/tooltip/tooltip-html-unsafe-popup.html'
0 commit comments