An editor's iframe and div now blindUp in unision when the note is hidden/shutdown.
This commit is contained in:
parent
58827c4ebd
commit
f5727d6383
|
@ -1081,10 +1081,14 @@ Editor.prototype.shutdown = function( event ) {
|
|||
var div = this.div;
|
||||
this.div = null;
|
||||
|
||||
blindUp( iframe || div, options = { "duration": 0.25, afterFinish: function () {
|
||||
blindUp( div, options = { "duration": 0.25, afterFinish: function () {
|
||||
try {
|
||||
removeElement( note_controls );
|
||||
removeElement( div );
|
||||
} catch ( e ) { }
|
||||
} } );
|
||||
blindUp( iframe, options = { "duration": 0.25, afterFinish: function () {
|
||||
try {
|
||||
if ( iframe )
|
||||
addElementClass( iframe, "invisible" );
|
||||
} catch ( e ) { }
|
||||
|
|
Reference in New Issue