Skip to content

Commit 8bfb5ba

Browse files
committed
used old default parameter implementation
1 parent 47a6037 commit 8bfb5ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/tooltip.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,11 @@
9595
this.el.removeEventListener('blur', this._handleBlurBound, true);
9696
}
9797

98-
open(isManual = true) {
98+
open(isManual) {
9999
if (this.isOpen) {
100100
return;
101101
}
102+
isManual = isManual === undefined ? true : undefined; // Default value true
102103
this.isOpen = true;
103104
// Update tooltip content with HTML attribute options
104105
this.options = $.extend({}, this.options, this._getAttributeOptions());

0 commit comments

Comments
 (0)