Permalink
Browse files

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

  • Loading branch information...
1 parent ad3626b commit 911d92c873135a4193bb89eb31493507b13d72e8 @gimite gimite committed Aug 3, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 web_socket.js
View
@@ -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://...");
}

0 comments on commit 911d92c

Please sign in to comment.