| Index: remoting/webapp/crd/js/toolbar.js
|
| diff --git a/remoting/webapp/crd/js/toolbar.js b/remoting/webapp/crd/js/toolbar.js
|
| index 95113aa3427fefee2cd0c17b861ddd58a62b2761..e901b873fcc103cb99e860e3512c423d2791ec17 100644
|
| --- a/remoting/webapp/crd/js/toolbar.js
|
| +++ b/remoting/webapp/crd/js/toolbar.js
|
| @@ -63,9 +63,10 @@ remoting.Toolbar = function(toolbar) {
|
| window.addEventListener('mousemove', remoting.Toolbar.onMouseMove, false);
|
| window.addEventListener('resize', this.center.bind(this), false);
|
|
|
| - registerEventListener('toolbar-disconnect', 'click', remoting.disconnect);
|
| - registerEventListener('toolbar-stub', 'click',
|
| - function() { remoting.toolbar.toggle(); });
|
| + registerEventListener('toolbar-disconnect', 'click',
|
| + remoting.app.disconnect.bind(remoting.app));
|
| + registerEventListener('toolbar-stub',
|
| + 'click', function() { remoting.toolbar.toggle(); });
|
|
|
| // Prevent the preview canceling if the user is interacting with the tool-bar.
|
| /** @type {remoting.Toolbar} */
|
|
|