Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix the problem that typing in remote emulator's shell doesn't work

  • Loading branch information...
commit 08b1870e07d61e05d64d71f003a5a03a06d8bb36 1 parent dfa96d8
@zhizhangchen authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/node-webkit_shell.js
View
8 src/node-webkit_shell.js
@@ -341,6 +341,14 @@ function OpenLiveBrowser(callback, url, enableRemoteDebugging){
Inspector.disconnect();
}
})
+ iframe.load( function () {
+ iframe.contents().find("#noVNC_canvas").click( function () {
+ iframe[0].contentWindow.focus();
+ })
+ $(window).click(function () {
+ window.focus();
+ })
+ })
$(Inspector).off('connect.RemoteEmulator');
$(Inspector).on('connect.RemoteEmulator', function () {
this.dialog("open");
Please sign in to comment.
Something went wrong with that request. Please try again.