Go to file
Adam Silverstein 1b043c1492 Media: Fix image cropping on touch screen devices.
* In initCrop, handle touch events in addition to mouse events.
* In imageSelect jQuery plugin, accept event.which of 0 as provided by touch events.

Props yahil, alexgso, joemcgill.
Fixes #41242.


git-svn-id: https://develop.svn.wordpress.org/trunk@42818 602fd350-edb4-49c9-b593-d223f7449a82
2018-03-09 17:26:53 +00:00
src Media: Fix image cropping on touch screen devices. 2018-03-09 17:26:53 +00:00
tests Themes: Revert [42788] as it breaks a lot of things. 2018-03-09 16:59:57 +00:00
tools/i18n Remove the svn:executable property from files that don't need it. 2017-11-17 02:57:27 +00:00
.editorconfig Build: Switch package.json to using tabs for indents. 2018-01-16 03:54:10 +00:00
.gitignore Build/Test Tools: Remove vendor file name entry from .gitignore. 2018-02-25 11:29:25 +00:00
.jshintrc General: Remove .jshintrc and *.json from the 2-space-indent .editorconfig group. 2017-10-12 01:57:45 +00:00
.travis.yml BUILD/TEST TOOLS: Report Travis test results to make/hosting PHPUnit test results 2018-01-16 20:28:42 +00:00
Gruntfile.js Build/Test Tools: Add watch:phpunit task. 2018-02-27 00:31:33 +00:00
jsdoc.conf.json Docs: Improve wp-admin JSDoc structural data globally. 2017-12-15 13:41:56 +00:00
package.json Build Tools: Update SPDX License in package.json to adhere to SPDX v3.0 specification. 2018-02-01 16:38:48 +00:00
phpcs.xml.dist Coding Standards: Add the phpcs.xml.dist file. 2017-12-01 03:40:04 +00:00
phpunit.xml.dist Build/Test Tools: Allow code coverage reports to be generated. 2018-02-07 22:20:25 +00:00
webpack.config.dev.js Build: Webpack instead of Browserify as JavaScript bundler. 2017-10-04 21:00:15 +00:00
webpack.config.prod.js Build: Webpack instead of Browserify as JavaScript bundler. 2017-10-04 21:00:15 +00:00
wp-cli.yml
wp-config-sample.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wp-tests-config-sample.php Code is Poetry. 2017-11-30 23:09:33 +00:00