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

Commit

Permalink
fix(tooltip): fix addClass signature
Browse files Browse the repository at this point in the history
- Fix the addition of multiple classes

Closes #5235
  • Loading branch information
suncat2000 authored and wesleycho committed Jan 14, 2016
1 parent 446364a commit 6a2d91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tooltip/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position', 'ui.bootstrap.s
options.placementClassPrefix + 'right-bottom');

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

positionTimeout = null;
Expand Down

0 comments on commit 6a2d91b

Please sign in to comment.