Go to file
joakin 36518b1215 Don't hide preview when user dwells on link
... after dwelling on preview.

Currently, the asynchronous PREVIEW_ABANDON_END action wouldn't be
ignored if the user were to have dwelled on the link that the preview is
about. The action is only ignored if the user is dwelling on the
preview, i.e. if preview.isUserDwelling is truthy.

Set preview.isUserDwelling to truthy if the user is dwelling either on
the link or on the preview.

Bug: T154923
Change-Id: I8e6989790da5884992ee9dda9e4895e2e58e6694
2017-01-10 17:43:55 -08:00
doc Wire up saving enabled/disabled in settings dialog 2016-12-14 14:35:59 +00:00
i18n Update enable previews copy 2017-01-09 19:41:44 +01:00
images Directory structure should reflect the ResourceLoader definitions 2016-10-19 20:52:40 +00:00
includes Hygiene: use UserGetDefaultOptions instead of ExtensionRegistration 2017-01-10 18:34:43 +01:00
resources Don't hide preview when user dwells on link 2017-01-10 17:43:55 -08:00
tests Don't hide preview when user dwells on link 2017-01-10 17:43:55 -08:00
.eslintrc.json Remove jshint/jscs, add eslint and stylelint 2016-12-16 13:35:34 +01:00
.gitignore Add composer.json 2015-11-19 14:30:20 +01:00
.gitreview Make mpga the default branch for git-review 2016-11-08 21:00:21 +00:00
.stylelintrc Remove jshint/jscs, add eslint and stylelint 2016-12-16 13:35:34 +01:00
composer.json build: Updating development dependencies 2016-01-05 10:39:25 -08:00
COPYING Add COPYING file 2014-02-06 15:38:46 +05:30
extension.json Hygiene: use UserGetDefaultOptions instead of ExtensionRegistration 2017-01-10 18:34:43 +01:00
Gemfile Update mediawiki_api gem to 1.7.1 2016-05-26 01:34:35 +02:00
Gemfile.lock Hygiene: Remove RL-related step 2016-12-13 14:46:03 +00:00
Gruntfile.js Remove jshint/jscs, add eslint and stylelint 2016-12-16 13:35:34 +01:00
jsduck.json Setup jsduck to run on 'npm run doc' 2015-08-03 15:54:25 +05:30
package.json Remove jshint/jscs, add eslint and stylelint 2016-12-16 13:35:34 +01:00
Popups.hooks.php Hygiene: use UserGetDefaultOptions instead of ExtensionRegistration 2017-01-10 18:34:43 +01:00
Popups.php Add extension.json, empty php entry point 2015-07-02 22:19:24 +00:00