Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(747)

Unified Diff: remoting/webapp/crd/js/desktop_connected_view.js

Issue 1343503002: Fix right-Ctrl mapping menu item. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/webapp/crd/js/desktop_connected_view.js
diff --git a/remoting/webapp/crd/js/desktop_connected_view.js b/remoting/webapp/crd/js/desktop_connected_view.js
index 1f528d36909c8a7c9ad8140dfe45d9fbcf3baf47..9305a438f5d793268e5886bd54e997c645ef9996 100644
--- a/remoting/webapp/crd/js/desktop_connected_view.js
+++ b/remoting/webapp/crd/js/desktop_connected_view.js
@@ -258,7 +258,7 @@ remoting.DesktopConnectedView.prototype.setMapRightCtrl = function(enable) {
if (enable) {
this.host_.options.remapKeys[0x0700e4] = 0x0700e7;
} else {
- delete this.host_.options.remapKeys[0x0700e4]
+ this.host_.options.remapKeys[0x0700e4] = 0x0700e4;
}
this.setRemapKeys(this.host_.options.remapKeys);
};
@@ -341,4 +341,4 @@ remoting.DesktopConnectedView.prototype.startStopRecording = function() {
*/
remoting.DesktopConnectedView.create = function(container, connectionInfo) {
return new remoting.DesktopConnectedView(container, connectionInfo);
-};
+};

Powered by Google App Engine
This is Rietveld 408576698