Index: remoting/webapp/options_menu.js |
diff --git a/remoting/webapp/options_menu.js b/remoting/webapp/options_menu.js |
index fce3bc9e9611d835b48afc14bd493b2acdbc1c4a..bddfb8989651e51f04d97572f03b49f284ca745c 100644 |
--- a/remoting/webapp/options_menu.js |
+++ b/remoting/webapp/options_menu.js |
@@ -69,6 +69,8 @@ remoting.OptionsMenu.prototype.setClientSession = function(clientSession) { |
remoting.OptionsMenu.prototype.onShow = function() { |
if (this.clientSession_) { |
+ this.resizeToClient_.hidden = |
+ this.clientSession_.getMode() == remoting.ClientSession.Mode.IT2ME; |
remoting.MenuButton.select( |
this.resizeToClient_, this.clientSession_.getResizeToClient()); |
remoting.MenuButton.select( |
@@ -133,3 +135,8 @@ remoting.OptionsMenu.prototype.onStartStopRecording_ = function() { |
this.clientSession_.startStopRecording(); |
} |
} |
+ |
+/** |
+ * @type {remoting.OptionsMenu} |
+ */ |
+remoting.optionsMenu = null; |