Updating the browser-not-supported error message.
This commit is contained in:
parent
9152f7b986
commit
025faae54e
|
@ -51,11 +51,11 @@ function Wiki( invoker ) {
|
||||||
var unsupported_agent = null;
|
var unsupported_agent = null;
|
||||||
var beta_agent = null;
|
var beta_agent = null;
|
||||||
|
|
||||||
if ( /Opera/.test( navigator.userAgent ) )
|
if ( OPERA )
|
||||||
unsupported_agent = "Opera";
|
unsupported_agent = "Opera";
|
||||||
|
|
||||||
if ( unsupported_agent )
|
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 )
|
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!" );
|
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!" );
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue