mode == 'tmce' || mode == 'tinymce', see #17144

git-svn-id: https://develop.svn.wordpress.org/trunk@19319 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2011-11-17 15:50:01 +00:00
parent 38d61c55ed
commit 70ad3cf297
3 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ var switchEditors = {
mode = 'tmce';
}
if ( 'tmce' == mode ) {
if ( 'tmce' == mode || 'tinymce' == mode ) {
if ( ed && ! ed.isHidden() )
return false;