| Index: remoting/webapp/client_session.js
|
| diff --git a/remoting/webapp/client_session.js b/remoting/webapp/client_session.js
|
| index c55b277a3820cbd0b50380a282247a1d9b8c2f17..22f67b96c0c9f86fdaffe5315c276cb71d2421ec 100644
|
| --- a/remoting/webapp/client_session.js
|
| +++ b/remoting/webapp/client_session.js
|
| @@ -1309,9 +1309,11 @@ remoting.ClientSession.prototype.scroll_ = function(dx, dy) {
|
| };
|
|
|
| remoting.ClientSession.prototype.resetScroll_ = function() {
|
| - var plugin = this.plugin_.element();
|
| - plugin.style.marginTop = '0px';
|
| - plugin.style.marginLeft = '0px';
|
| + if (this.plugin_) {
|
| + var plugin = this.plugin_.element();
|
| + plugin.style.marginTop = '0px';
|
| + plugin.style.marginLeft = '0px';
|
| + }
|
| };
|
|
|
| /**
|
|
|