Make WordPress Core

Changeset 33588


Ignore:
Timestamp:
08/06/2015 02:16:54 AM (9 years ago)
Author:
SergeyBiryukov
Message:

wpLink: Make sure the link wrapper is the last element in the body, otherwise the inline editor toolbar may show up above the backdrop.

props azaozz.
fixes #33268.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/wplink.js

    r32992 r33588  
    114114
    115115            if ( typeof tinymce !== 'undefined' ) {
    116                 // Make sure the link wrapper is the last element in the body.
    117                 // Fixes z-index bug in iOS.
    118                 if ( tinymce.Env.iOS ) {
    119                     $body.append( inputs.backdrop, inputs.wrap );
    120                 }
     116                // Make sure the link wrapper is the last element in the body,
     117                // or the inline editor toolbar may show above the backdrop.
     118                $body.append( inputs.backdrop, inputs.wrap );
    121119
    122120                ed = tinymce.get( wpActiveEditor );
Note: See TracChangeset for help on using the changeset viewer.