mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-15 03:34:03 +00:00
cbdcf7d353
While I1bf953b2 fixed the typo in FETCH_START_DELAY, it didn't do anything to address the inconsistency in the time it takes to render a preview (preview delay). If the gateway result resolves before the target preview delay (500 ms) is met, then delay dispatching the FETCH_END action until it is. If, however, the gateway result resolves after the target preview delay, then dispatch the FETCH_END action immediately. Supporting changes: * Expose the fetch action to ease testing it and to help tidy up the mw.popups.actions.linkDwell tests. Change-Id: Idf02343a0417cfbb33093a81d97ecebc5c1c7379 |
||
---|---|---|
.. | ||
browser | ||
phpunit | ||
qunit | ||
.jscsrc.js |