~canonical-sysadmins/wordpress/4.9.5

« back to all changes in this revision

Viewing changes to wp-includes/js/imgareaselect/jquery.imgareaselect.js

  • Committer: Barry Price
  • Date: 2018-04-10 03:27:48 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: barryprice@flollop-20180410032748-da232uugwx07f9m8
Merge WP4.9.5 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
748
748
     */
749
749
    function imgMouseDown(event) {
750
750
        /* Ignore the event if animation is in progress */
751
 
        if (event.which != 1 || $outer.is(':animated')) return false;
 
751
        if (event.which > 1 || $outer.is(':animated')) return false;
752
752
 
753
753
        adjust();
754
754
        startX = x1 = evX(event);