commit
e52e13d611
1 changed files with 3 additions and 2 deletions
|
@ -1571,8 +1571,9 @@ module.directive('kcTooltip', function($compile) {
|
||||||
terminal: true,
|
terminal: true,
|
||||||
priority: 1000,
|
priority: 1000,
|
||||||
link: function link(scope,element, attrs) {
|
link: function link(scope,element, attrs) {
|
||||||
var tooltip = element[0].innerText;
|
var angularElement = angular.element(element[0]);
|
||||||
element[0].innerText = null;
|
var tooltip = angularElement.text();
|
||||||
|
angularElement.text('');
|
||||||
element.addClass('hidden');
|
element.addClass('hidden');
|
||||||
|
|
||||||
var label = angular.element(element.parent().children()[0]);
|
var label = angular.element(element.parent().children()[0]);
|
||||||
|
|
Loading…
Reference in a new issue