Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit ee960c1

Browse files
committed
Changing attributestoadd name
1 parent 33a9953 commit ee960c1

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

lib/angular-tooltips.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,10 @@
111111
element.removeAttr('tooltip-class');
112112
}
113113

114-
if (element.attr('tooltip-show-tooltip') !== undefined) {
115-
attributesToAdd['tooltip-show-tooltip'] = element.attr('tooltip-show-tooltip');
116-
element.removeAttr('tooltip-show-tooltip');
114+
if (element.attr('tooltip-show') !== undefined) {
115+
116+
attributesToAdd['tooltip-show'] = element.attr('tooltip-show');
117+
element.removeAttr('tooltip-show');
117118
}
118119

119120
if (element.attr('tooltip-close-button') !== undefined) {

0 commit comments

Comments
 (0)