| Index: remoting/webapp/me2mom/toolbar.js
|
| diff --git a/remoting/webapp/me2mom/toolbar.js b/remoting/webapp/me2mom/toolbar.js
|
| index b4b5644d3c6dc8f1a5ac9c82ee77f21b623aee48..85ad48bb28feb59c04f1f22f99d34478e0a7d380 100644
|
| --- a/remoting/webapp/me2mom/toolbar.js
|
| +++ b/remoting/webapp/me2mom/toolbar.js
|
| @@ -22,6 +22,16 @@ remoting.Toolbar = function(toolbar) {
|
| * @private
|
| */
|
| this.toolbar_ = toolbar;
|
| + /**
|
| + * @type {boolean} False if the tool-bar is currently hidden, or should be
|
| + * hidden once the over-shoot timer expires; true otherwise.
|
| + */
|
| + this.visible = false;
|
| + /**
|
| + * @type {number?} The id of the current timer, if any.
|
| + */
|
| + this.timerId = null;
|
| +
|
| /** @type {remoting.Toolbar} */
|
| var that = this;
|
|
|
| @@ -44,15 +54,7 @@ remoting.Toolbar = function(toolbar) {
|
| that.showForAtLeast_(1000);
|
| };
|
|
|
| - /**
|
| - * @type {boolean} False if the tool-bar is currently hidden, or should be
|
| - * hidden once the over-shoot timer expires; true otherwise.
|
| - */
|
| - this.visible = false;
|
| - /**
|
| - * @type {number?} The id of the current timer, if any.
|
| - */
|
| - this.timerId = null;
|
| + window.addEventListener('resize', function() { that.center(); }, false);
|
| };
|
|
|
| /**
|
|
|