Index: remoting/webapp/client_plugin.js |
diff --git a/remoting/webapp/client_plugin.js b/remoting/webapp/client_plugin.js |
index 12fd0c053fbd5884405e30ce1e82a7be4d5745f4..2527fb5f4d912d375aacaac711998bb2e48d37cb 100644 |
--- a/remoting/webapp/client_plugin.js |
+++ b/remoting/webapp/client_plugin.js |
@@ -84,7 +84,10 @@ remoting.ClientPlugin = function(plugin, onExtensionMessage) { |
this.plugin.addEventListener('message', function(event) { |
that.handleMessage_(event.data); |
}, false); |
- window.setTimeout(this.showPluginForClickToPlay_.bind(this), 500); |
+ |
+ if (remoting.settings.CLIENT_PLUGIN_TYPE == 'native') { |
+ window.setTimeout(this.showPluginForClickToPlay_.bind(this), 500); |
+ } |
}; |
/** |