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

Unified Diff: remoting/webapp/client_session.js

Issue 305393003: Fix Chromoting client startup warnings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add {} around return for consistency. Created 6 years, 7 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
« no previous file with comments | « no previous file | remoting/webapp/host_settings.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/client_session.js
diff --git a/remoting/webapp/client_session.js b/remoting/webapp/client_session.js
index 12b46e5b10459f975e33559e5534401d70081428..07621aa457d5a99c0957de5bb7571423eb014c32 100644
--- a/remoting/webapp/client_session.js
+++ b/remoting/webapp/client_session.js
@@ -718,6 +718,10 @@ remoting.ClientSession.prototype.applyRemapKeys_ = function(apply) {
remapKeys = '0x0700e4>0x0700e7';
}
+ if (remapKeys == '') {
+ return;
+ }
+
var remappings = remapKeys.split(',');
for (var i = 0; i < remappings.length; ++i) {
var keyCodes = remappings[i].split('>');
« no previous file with comments | « no previous file | remoting/webapp/host_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698