TinyMCE Views in IE8 and 7: change deselect event only for old IE, props gcorne, fixes #27546
git-svn-id: https://develop.svn.wordpress.org/trunk@28063 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b253355d2c
commit
c90a2a5d3b
|
@ -293,7 +293,7 @@ tinymce.PluginManager.add( 'wpview', function( editor ) {
|
|||
|
||||
// Fix issue with deselecting a view in IE8. Without this hack, clicking content above the view wouldn't actually deselect it
|
||||
// and the caret wouldn't be placed at the mouse location
|
||||
if( tinymce.Env.ie <= 8 ) {
|
||||
if ( tinymce.Env.ie && tinymce.Env.ie <= 8 ) {
|
||||
deselectEventType = 'mouseup';
|
||||
} else {
|
||||
deselectEventType = 'mousedown';
|
||||
|
|
Loading…
Reference in New Issue