src/trumbowyg.js
function () {
            var t = this,
                prefix = t.o.prefix;

            t.$btnPane.removeClass(prefix + 'disable');
            t.$overlay.off();

            // Find the modal box
            var $modalBox = $('.' + prefix + 'modal-box', $(t.doc.body));

            $modalBox.animate({
                top: '-' + $modalBox.height()
            }, 100, function () {
                $modalBox.parent().remove();
                t.hideOverlay();
            });

            t.restoreRange();
        }
function () {
            var t = this,
                prefix = t.o.prefix;

            t.$btnPane.removeClass(prefix + 'disable');
            t.$overlay.off();

            // Find the modal box
            var $modalBox = $('.' + prefix + 'modal-box', $(t.doc.body));

            $modalBox.animate({
                top: '-' + $modalBox.height()
            }, 100, function () {
                $modalBox.parent().remove();
                t.hideOverlay();
            });

            t.restoreRange();
        }
function ( ) { var t = this , prefix = t . o . prefix ; t . $btnPane . removeClass ( prefix + 'disable' ) ; t . $overlay . off ( ) ; // Find the modal box var $modalBox = $ ( '.' + prefix + 'modal-box' , $ ( t . doc . body ) ) ; $modalBox . animate ( { top : '-' + $modalBox . height ( ) } , 100 , function ( ) { $modalBox . parent ( ) . remove ( ) ; t . hideOverlay ( ) ; } ) ; t . restoreRange ( ) ; }
close current modal box
close current modal box