WordPress.org

Make WordPress Core

Changeset 28063


Ignore:
Timestamp:
04/09/2014 03:28:17 PM (6 years ago)
Author:
azaozz
Message:

TinyMCE Views in IE8 and 7: change deselect event only for old IE, props gcorne, fixes #27546

File:
1 edited

Legend:

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

    r28062 r28063  
    294294                // Fix issue with deselecting a view in IE8. Without this hack, clicking content above the view wouldn't actually deselect it
    295295                // and the caret wouldn't be placed at the mouse location
    296                 if( tinymce.Env.ie <= 8 ) {
     296                if ( tinymce.Env.ie && tinymce.Env.ie <= 8 ) {
    297297                    deselectEventType = 'mouseup';
    298298                } else {
Note: See TracChangeset for help on using the changeset viewer.