This commit is contained in:
cxt 2015-10-16 10:42:17 +08:00
commit c77505392a
1 changed files with 7 additions and 3 deletions

View File

@ -5127,8 +5127,10 @@ KEditor.prototype = {
};
K(window).bind('resize', self._fullscreenResizeHandler);
toolbar.select('fullscreen');
statusbar.first().css('visibility', 'hidden');
statusbar.last().css('visibility', 'hidden');
if(statusbar.first() ){
statusbar.first() .css('visibility', 'hidden');
statusbar.last().css('visibility', 'hidden');
}
} else {
if (_GECKO) {
K(window).bind('scroll', function(e) {
@ -5145,7 +5147,9 @@ KEditor.prototype = {
}
});
} else {
statusbar.first().css('visibility', 'hidden');
if(statusbar.first() ){
statusbar.first().css('visibility', 'hidden');
}
}
if (self.resizeType === 2) {
_drag({