From d70e6ab40c34d0ab737f11c65124a4d3b39df0df Mon Sep 17 00:00:00 2001
From: Tim de Koning <github@kingsquare.nl>
Date: Wed, 27 Jun 2012 17:01:05 +0200
Subject: [PATCH] Bug, seen by  @yurydelendik, thanx!

---
 web/compatibility.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/web/compatibility.js b/web/compatibility.js
index ed4fae338..540dff0b1 100644
--- a/web/compatibility.js
+++ b/web/compatibility.js
@@ -79,10 +79,9 @@
 
 // Object.defineProperty() ?
 (function checkObjectDefinePropertyCompatibility() {
-  // safari 5 cannot use this on DOM objects and thus is unusable,
-  // see http://kangax.github.com/es5-compat-table/
+  // safari 5 and 6 cannot use this on DOM objects and thus it's unusable,
   if ((typeof Object.defineProperty !== 'undefined') &&
-    /Safari\/5/.test(navigator.userAgent)) return;
+    !/Safari/.test(navigator.userAgent)) return;
 
   Object.defineProperty = function objectDefineProperty(obj, name, def) {
     delete obj[name];