From 0d371cc4909d72d7c1d38182acbadbaed0645bc7 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 6 Oct 2008 15:47:19 -0700 Subject: [PATCH] Remove Safari/Chrome warning message, since hopefully they'll be supported by the time this release is done. --- static/js/Wiki.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/static/js/Wiki.js b/static/js/Wiki.js index 37c7677..3578090 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -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 )