Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding 'WARNING:' to warning message for file:///...

  • Loading branch information...
commit 911d92c873135a4193bb89eb31493507b13d72e8 1 parent ad3626b
@gimite gimite authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 web_socket.js
View
4 web_socket.js
@@ -14,10 +14,10 @@
console.error("Flash Player is not installed.");
return;
}
- console.log(location.protocol);
if (location.protocol == "file:") {
console.error(
- "web-socket-js doesn't work in file:///... URL (without special configuration). " +
+ "WARNING: web-socket-js doesn't work in file:///... URL " +
+ "unless you set Flash Security Settings properly. " +
"Open the page via Web server i.e. http://...");
}
Please sign in to comment.
Something went wrong with that request. Please try again.