Skip to content

Commit 87b81fe

Browse files
committed
Changed default closeDelay to 100ms.
1 parent a142e44 commit 87b81fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ $('#element').data('powertiptarget', 'myToolTip');
9494
| `offset` | `10` | Number | Pixel offset of the tooltip. This will be the offset from the element the tooltip is open for, or from from mouse cursor if `followMouse` is `true`. |
9595
| `fadeInTime` | `200` | Number | Tooltip fade-in time in milliseconds. |
9696
| `fadeOutTime` | `200` | Number | Tooltip fade-out time in milliseconds. |
97-
| `closeDelay` | `200` | Number | Time in milliseconds to wait after mouse cursor leaves the element before closing the tooltip. |
97+
| `closeDelay` | `100` | Number | Time in milliseconds to wait after mouse cursor leaves the element before closing the tooltip. |
9898
| `intentPollInterval` | `100` | Number | Hover intent polling interval in milliseconds. |
9999
| `intentSensitivity` | `7` | Number | Hover intent sensitivity. The tooltip will not open unless the number of pixels the mouse has moved within the `intentPollInterval` is less than this value. These default values mean that if the mouse cursor has moved 7 or more pixels in 100 milliseconds the tooltip will not open. |
100100

jquery.powertip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@
422422
popupId: 'powerTip',
423423
intentSensitivity: 7,
424424
intentPollInterval: 100,
425-
closeDelay: 200,
425+
closeDelay: 100,
426426
placement: 's',
427427
offset: 10,
428428
mouseOnToPopup: false

0 commit comments

Comments
 (0)