witten
/
luminotes
Archived
1
0
Fork 0

Remove Safari/Chrome warning message, since hopefully they'll be supported by the time this release is done.

This commit is contained in:
Dan Helfman 2008-10-06 15:47:19 -07:00
parent b19f488d90
commit 0d371cc490
1 changed files with 1 additions and 5 deletions

View File

@ -50,11 +50,7 @@ function Wiki( invoker ) {
if ( this.notebook && this.notebook.read_write ) {
unsupported_agent = null;
if ( /Chrome/.test( navigator.userAgent ) )
unsupported_agent = "Chrome";
else if ( /Safari/.test( navigator.userAgent ) )
unsupported_agent = "Safari";
else if ( /Opera/.test( navigator.userAgent ) )
if ( /Opera/.test( navigator.userAgent ) )
unsupported_agent = "Opera";
if ( unsupported_agent )