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

Commit 6a2d91b

Browse files
suncat2000wesleycho
authored andcommitted
fix(tooltip): fix addClass signature
- Fix the addition of multiple classes Closes #5235
1 parent 446364a commit 6a2d91b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tooltip/tooltip.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position', 'ui.bootstrap.s
189189
options.placementClassPrefix + 'right-bottom');
190190

191191
var placement = ttPosition.placement.split('-');
192-
tooltip.addClass(placement[0], options.placementClassPrefix + ttPosition.placement);
192+
tooltip.addClass(placement[0] + ' ' + options.placementClassPrefix + ttPosition.placement);
193193
$position.positionArrow(tooltip, ttPosition.placement);
194194

195195
positionTimeout = null;

0 commit comments

Comments
 (0)