From e50014d47e3f3799031119595a43082ea94afd89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Zaefferer?= Date: Sun, 7 Jan 2007 23:19:13 +0000 Subject: [PATCH] Fixed #753 in Opera and IE --- src/jquery/jquery.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index b6d1dece..e3804414 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1390,8 +1390,8 @@ jQuery.extend({ }, parseSetter: function(value) { - if( typeof value == "string" && value[0] == "$" ) { - var m = value.match(/^\${(.*)}$/); + if( typeof value == "string" && value.charAt(0) == "$" ) { + var m = value.match(/{(.*)}$/); if ( m && m[1] ) { value = new Function( "return " + m[1] ); }