Make WordPress Core

Changeset 28687


Ignore:
Timestamp:
06/06/2014 05:03:33 AM (11 years ago)
Author:
azaozz
Message:

wpView: fix deselecting a view when clicking outside the iframe body. Props avryl, fixes #28268

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/tinymce/plugins/wpview/plugin.js

    r28686 r28687  
    282282        });
    283283
    284         editor.dom.bind( editor.getBody(), 'mousedown mouseup click', function( event ) {
     284        editor.dom.bind( editor.getBody().parentNode, 'mousedown mouseup click', function( event ) {
    285285            var view = getParentView( event.target ),
    286286                deselectEventType;
Note: See TracChangeset for help on using the changeset viewer.