mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 23:24:39 +00:00
Show Page Preview on mouseenter and keyup events
Changes: - remove focus events listeners as they are triggered after switching tabs - show PagePreview on keyup event Bug: T158631 Change-Id: I7533f896604e0e0a8ea6e900ae4f7d12b6458836
This commit is contained in:
parent
1156075adf
commit
aa81d6aaad
BIN
resources/dist/index.js
vendored
BIN
resources/dist/index.js
vendored
Binary file not shown.
BIN
resources/dist/index.js.map
vendored
BIN
resources/dist/index.js.map
vendored
Binary file not shown.
|
@ -138,7 +138,7 @@ mw.requestIdleCallback( function () {
|
|||
renderer.init();
|
||||
|
||||
previewLinks
|
||||
.on( 'mouseover focus', function ( event ) {
|
||||
.on( 'mouseover keyup', function ( event ) {
|
||||
boundActions.linkDwell( this, event, gateway, generateToken );
|
||||
} )
|
||||
.on( 'mouseout blur', function () {
|
||||
|
|
Loading…
Reference in a new issue