Skip to content

Commit acbc194

Browse files
committed
comment update
1 parent 72cf7e0 commit acbc194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/tooltip/tooltip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ export class MatTooltip implements OnDestroy, AfterViewInit {
550550

551551
/** Binds the pointer events to the tooltip trigger. */
552552
private _setupPointerEvents() {
553-
// Defer hooking up events if there's no message.
553+
// Optimization: Defer hooking up events if there's no message or the tooltip is disabled.
554554
if (this._disabled || !this.message || !this._viewInitialized ||
555555
this._passiveListeners.size) {
556556
return;

0 commit comments

Comments
 (0)