Index: remoting/webapp/remoting.js |
diff --git a/remoting/webapp/remoting.js b/remoting/webapp/remoting.js |
index 26184d8fd89d3580d54780af2f051792ab3d77ab..384343f40b7a10c9dfbb0fb402a5a9d7b6cb4f40 100644 |
--- a/remoting/webapp/remoting.js |
+++ b/remoting/webapp/remoting.js |
@@ -53,7 +53,6 @@ remoting.init = function() { |
document.getElementById('current-email').innerText = email; |
} |
- window.addEventListener('blur', pluginLostFocus_, false); |
// The plugin's onFocus handler sends a paste command to |window|, because |
// it can't send one to the plugin element itself. |
window.addEventListener('paste', pluginGotPaste_, false); |
@@ -150,16 +149,6 @@ function pluginGotPaste_(eventUncast) { |
} |
/** |
- * Callback function called when the browser window loses focus. In this case, |
- * release all keys to prevent them becoming 'stuck down' on the host. |
- */ |
-function pluginLostFocus_() { |
- if (remoting.clientSession && remoting.clientSession.plugin) { |
- remoting.clientSession.plugin.releaseAllKeys(); |
- } |
-} |
- |
-/** |
* If the user is authenticated, but there is no email address cached, get one. |
*/ |
function refreshEmail_() { |