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;
|
var div = this.div;
|
||||||
this.div = null;
|
this.div = null;
|
||||||
|
|
||||||
blindUp( iframe || div, options = { "duration": 0.25, afterFinish: function () {
|
blindUp( div, options = { "duration": 0.25, afterFinish: function () {
|
||||||
try {
|
try {
|
||||||
removeElement( note_controls );
|
removeElement( note_controls );
|
||||||
removeElement( div );
|
removeElement( div );
|
||||||
|
} catch ( e ) { }
|
||||||
|
} } );
|
||||||
|
blindUp( iframe, options = { "duration": 0.25, afterFinish: function () {
|
||||||
|
try {
|
||||||
if ( iframe )
|
if ( iframe )
|
||||||
addElementClass( iframe, "invisible" );
|
addElementClass( iframe, "invisible" );
|
||||||
} catch ( e ) { }
|
} catch ( e ) { }
|
||||||
|
|
Reference in New Issue