Commit e50014d4 authored by Jörn Zaefferer's avatar Jörn Zaefferer

Fixed #753 in Opera and IE

parent cb0250f1
......@@ -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] );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment