# HG changeset patch # User hamidouk # Date 1325257332 -3600 # Node ID de53cbe1b052e05fd7ac3bf8d7f86ed1fe6bcae2 # Parent 10d08f43c5340de5d6b7e98d809835409c82aa5a fixed bug in the way the tweetWidget restored itself after that the annotation creation widget was minimized. diff -r 10d08f43c534 -r de53cbe1b052 src/js/widgets/tweetsWidget.js --- a/src/js/widgets/tweetsWidget.js Fri Dec 30 16:01:09 2011 +0100 +++ b/src/js/widgets/tweetsWidget.js Fri Dec 30 16:02:12 2011 +0100 @@ -5,7 +5,7 @@ this._displayingTweet = false; this._timeoutId = undefined; - this._hidden = false; + this._hidden = false; /* hidden means that the createAnnotationWidget is shown */ }; @@ -133,7 +133,10 @@ this.selector.hide(); this._hidden = true; } else { - this.selector.show(); + if (this._displayingTweet !== false) + this.selector.show(); + + this._hidden = false; } }; \ No newline at end of file