diff --strip-trailing-cr -d'ruNF^function' fivestar-01-fix-ie-fix/jquery.rating.js fivestar-02-fix-voteHook/jquery.rating.js --- fivestar-01-fix-ie-fix/jquery.rating.js 2007-03-14 03:20:07.000000000 +0200 +++ fivestar-02-fix-voteHook/jquery.rating.js 2007-03-14 03:21:02.000000000 +0200 @@ -158,11 +158,11 @@ var returnObj = new Object(); returnObj.result = new Object(); returnObj.vote = new Object(); - returnObj.result.count = $("count",$(data)).text(); - returnObj.result.average = $("average",$(data)).text(); - returnObj.vote.id = $("id",$(data)).text(); - returnObj.vote.type = $("type",$(data)).text(); - returnObj.vote.value = $("value",$(data)).text(); + returnObj.result.count = $("count",data).text(); + returnObj.result.average = $("average",data).text(); + returnObj.vote.id = $("id",data).text(); + returnObj.vote.type = $("type",data).text(); + returnObj.vote.value = $("value",data).text(); // Look for the fivestarResult function and call if available if (window.fivestarResult) {