witten
/
luminotes
Archived
1
0
Fork 0

Updating the browser-not-supported error message.

This commit is contained in:
Dan Helfman 2009-01-27 15:24:07 -08:00
parent 9152f7b986
commit 025faae54e
1 changed files with 2 additions and 2 deletions

View File

@ -51,11 +51,11 @@ function Wiki( invoker ) {
var unsupported_agent = null;
var beta_agent = null;
if ( /Opera/.test( navigator.userAgent ) )
if ( OPERA )
unsupported_agent = "Opera";
if ( unsupported_agent )
this.display_message( "Luminotes does not currently support the " + unsupported_agent + " web browser for editing. If possible, please use Firefox or Internet Explorer instead. " + unsupported_agent + " support will be added in a future release. Sorry for the inconvenience." );
this.display_message( "Luminotes does not currently support the " + unsupported_agent + " web browser for editing. If possible, please use a recent version of Firefox, Internet Explorer, Chrome, or Safari instead. Sorry for the inconvenience." );
else if ( beta_agent )
this.display_message( "Luminotes support for your web browser (" + beta_agent + ") is currently in beta. If you encounter any problems, please contact support so that they can be fixed!" );
}