[Phpfreechat-svn] SF.net SVN: phpfreechat: [1107] trunk/data/public/js/pfcgui.js
Status: Beta
Brought to you by:
kerphi
|
From: <gpi...@us...> - 2007-08-09 11:06:58
|
Revision: 1107
http://phpfreechat.svn.sourceforge.net/phpfreechat/?rev=1107&view=rev
Author: gpinzone
Date: 2007-08-09 04:04:30 -0700 (Thu, 09 Aug 2007)
Log Message:
-----------
Smiley fix for Webkit (Safari) browsers.
Modified Paths:
--------------
trunk/data/public/js/pfcgui.js
Modified: trunk/data/public/js/pfcgui.js
===================================================================
--- trunk/data/public/js/pfcgui.js 2007-08-09 02:02:05 UTC (rev 1106)
+++ trunk/data/public/js/pfcgui.js 2007-08-09 11:04:30 UTC (rev 1107)
@@ -407,7 +407,8 @@
s_symbol = s_symbol.unescapeHTML();
// Replace " with " for IE and Webkit browsers.
// The prototype.js version 1.5.1.1 does not do this.
- if (window.attachEvent && !window.opera) // IE detection from prototype.js
+ // IE and Webkit detection from prototype.js
+ if (window.attachEvent && !window.opera || navigator.userAgent.indexOf('AppleWebKit/') > -1)
s_symbol = s_symbol.replace(/"/g,'"');
var img = document.createElement('img');
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|