Skip to content

Commit 57994d2

Browse files
committed
fix same bug in hint
1 parent 9f0c883 commit 57994d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/hint/hint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class Hint implements Package<HintOptions> {
4545
) {
4646
this._targetElement = getContainerElement(elementOrSelector);
4747
this._options = options
48-
? setOptions(this._options, options)
48+
? setOptions(this._options, { ...getDefaultHintOptions(), ...options })
4949
: getDefaultHintOptions();
5050
}
5151

0 commit comments

Comments
 (0)