mirror of
https://github.com/flarum/core.git
synced 2025-08-04 15:37:51 +02:00
Reduce post preview hover delay
This commit is contained in:
@@ -93,7 +93,7 @@ export default function addPostMentionPreviews() {
|
|||||||
$this.parent().hover(
|
$this.parent().hover(
|
||||||
() => {
|
() => {
|
||||||
clearTimeout(timeout);
|
clearTimeout(timeout);
|
||||||
timeout = setTimeout(showPreview, 500);
|
timeout = setTimeout(showPreview, 250);
|
||||||
},
|
},
|
||||||
() => {
|
() => {
|
||||||
clearTimeout(timeout);
|
clearTimeout(timeout);
|
||||||
|
Reference in New Issue
Block a user