Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 5dd9823

Browse files
selfservicesbekos
authored andcommitted
fix(tooltip): support IE8
1 parent 6b1c68f commit 5dd9823

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/tooltip/tooltip.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
9696
var startSym = $interpolate.startSymbol();
9797
var endSym = $interpolate.endSymbol();
9898
var template =
99-
'<'+ directiveName +'-popup '+
99+
'<div '+ directiveName +'-popup '+
100100
'title="'+startSym+'tt_title'+endSym+'" '+
101101
'content="'+startSym+'tt_content'+endSym+'" '+
102102
'placement="'+startSym+'tt_placement'+endSym+'" '+
103103
'animation="tt_animation" '+
104104
'is-open="tt_isOpen"'+
105105
'>'+
106-
'</'+ directiveName +'-popup>';
106+
'</div>';
107107

108108
return {
109109
restrict: 'EA',
@@ -321,7 +321,7 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
321321

322322
.directive( 'tooltipPopup', function () {
323323
return {
324-
restrict: 'E',
324+
restrict: 'EA',
325325
replace: true,
326326
scope: { content: '@', placement: '@', animation: '&', isOpen: '&' },
327327
templateUrl: 'template/tooltip/tooltip-popup.html'
@@ -334,7 +334,7 @@ angular.module( 'ui.bootstrap.tooltip', [ 'ui.bootstrap.position', 'ui.bootstrap
334334

335335
.directive( 'tooltipHtmlUnsafePopup', function () {
336336
return {
337-
restrict: 'E',
337+
restrict: 'EA',
338338
replace: true,
339339
scope: { content: '@', placement: '@', animation: '&', isOpen: '&' },
340340
templateUrl: 'template/tooltip/tooltip-html-unsafe-popup.html'

0 commit comments

Comments
 (0)