From 64535641fce72f57184450fac9c8d91db56d463b Mon Sep 17 00:00:00 2001
From: djdolphin <creative4ever@rocketmail.com>
Date: Sat, 2 Nov 2013 18:50:26 -0400
Subject: [PATCH] Fixed Safari Bug

---
 js/Sprite.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/js/Sprite.js b/js/Sprite.js
index 7d36fba..de9442e 100644
--- a/js/Sprite.js
+++ b/js/Sprite.js
@@ -307,9 +307,16 @@ Sprite.prototype.updateTransform = function() {
     $(this.mesh).css('transform-origin', rotationCenterX + 'px ' + rotationCenterY + 'px');
     
     $(this.mesh).css('opacity', (1 - (this.ghostFilterEffect) / 100));
+	if (!!window.chrome) {
     $(this.mesh).css('-webkit-filter', 
                 'hue-rotate(' + ((this.colorFilterEffect % 200) * 1.8) + 'deg) \
                 brightness(' + ((this.brightnessFilterEffect / 100) + 1) + ')');
+    }
+    if (/Constructor/.test(window.HTMLElement)) {
+    $(this.mesh).css('-webkit-filter', 
+                'hue-rotate(' + ((this.colorFilterEffect % 200) * 1.8) + 'deg) \
+                brightness(' + (this.brightnessFilterEffect / 100) + ')');
+    }
 
     // Don't forget to update the talk bubble.
     if (this.talkBubble) {