diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2007-01-07 23:19:13 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2007-01-07 23:19:13 +0000 |
commit | e50014d47e3f3799031119595a43082ea94afd89 (patch) | |
tree | 764fb80bbf4119d318a1e15bb9b0d1db45cc4b33 /src/jquery/jquery.js | |
parent | cb0250f1fa5af5c84e858ea978fcaa1194f4694f (diff) | |
download | jquery-e50014d47e3f3799031119595a43082ea94afd89.tar.gz jquery-e50014d47e3f3799031119595a43082ea94afd89.zip |
Fixed #753 in Opera and IE
Diffstat (limited to 'src/jquery/jquery.js')
-rw-r--r-- | src/jquery/jquery.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index b6d1dece5..e38044147 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] ); } |