mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-30 18:34:40 +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 |
||
---|---|---|
.. | ||
changeListeners | ||
images | ||
reducers | ||
styles | ||
templates | ||
actions.js | ||
boot.js | ||
changeListener.js | ||
checkin.js | ||
counts.js | ||
gateway.js | ||
index.js | ||
isEnabled.js | ||
pageVisibility.js | ||
processLinks.js | ||
renderer.js | ||
schema.js | ||
settingsDialog.js | ||
userSettings.js | ||
wait.js |