From 3fd6a5f941716e862a394e20d753bf01e6374a05 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Thu, 29 Jan 2009 12:18:57 -0800 Subject: [PATCH] Fixed a bug in which hiding a focused note could (temporarily) leave an empty gap at the bottom of the page. --- NEWS | 3 ++- static/js/Wiki.js | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index e29721c..a54b75d 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ 1.6.1: - * + * Fixed a bug in which hiding a focused note could (temporarily) leave an + empty gap at the bottom of the page. 1.6.0: January 27, 2009 * Switching between notebooks and loading notebooks is now much faster. diff --git a/static/js/Wiki.js b/static/js/Wiki.js index 98f799d..59f2f63 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -1512,8 +1512,6 @@ Wiki.prototype.hide_editor = function ( event, editor ) { this.clear_messages(); this.clear_pulldowns(); - if ( editor == this.focused_editor ) - this.focused_editor = null; if ( this.focused_editor ) this.editor_focused( null );