mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-12 09:18:59 +00:00
Raise popup show/hide delay to 500ms/300ms, respectively
Per discussion on the bug, the current values of 150ms/100ms cause a lot of unintended actions. Bug: 64234 Change-Id: I6fe2d89ad97630ec5c7f47d3e3b9b71d7cfc5d3f
This commit is contained in:
parent
0192822522
commit
3041d358ed
|
@ -10,13 +10,13 @@
|
|||
* Time to wait in ms before showing a popup on hover
|
||||
* @property POPUP_DELAY
|
||||
*/
|
||||
mw.popups.render.POPUP_DELAY = 150;
|
||||
mw.popups.render.POPUP_DELAY = 500;
|
||||
|
||||
/**
|
||||
* Time to wait in ms before closing a popup on de-hover
|
||||
* @property POPUP_CLOSE_DELAY
|
||||
*/
|
||||
mw.popups.render.POPUP_CLOSE_DELAY = 100;
|
||||
mw.popups.render.POPUP_CLOSE_DELAY = 300;
|
||||
|
||||
/**
|
||||
* Time to wait in ms before starting the API queries on hover, must be <= POPUP_DELAY
|
||||
|
|
Loading…
Reference in a new issue