witten
/
luminotes
Archived
1
0
Fork 0

An editor's iframe and div now blindUp in unision when the note is hidden/shutdown.

This commit is contained in:
Dan Helfman 2009-01-22 12:15:32 -08:00
parent 58827c4ebd
commit f5727d6383
1 changed files with 5 additions and 1 deletions

View File

@ -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 ) { }