Remove Safari/Chrome warning message, since hopefully they'll be supported by the time this release is done.
This commit is contained in:
parent
b19f488d90
commit
0d371cc490
|
@ -50,11 +50,7 @@ function Wiki( invoker ) {
|
||||||
|
|
||||||
if ( this.notebook && this.notebook.read_write ) {
|
if ( this.notebook && this.notebook.read_write ) {
|
||||||
unsupported_agent = null;
|
unsupported_agent = null;
|
||||||
if ( /Chrome/.test( navigator.userAgent ) )
|
if ( /Opera/.test( navigator.userAgent ) )
|
||||||
unsupported_agent = "Chrome";
|
|
||||||
else if ( /Safari/.test( navigator.userAgent ) )
|
|
||||||
unsupported_agent = "Safari";
|
|
||||||
else if ( /Opera/.test( navigator.userAgent ) )
|
|
||||||
unsupported_agent = "Opera";
|
unsupported_agent = "Opera";
|
||||||
|
|
||||||
if ( unsupported_agent )
|
if ( unsupported_agent )
|
||||||
|
|
Reference in New Issue
Block a user