|
@@ -113,8 +113,8 @@ common={
|
|
|
},game_end:function(){
|
|
|
var _this=this;
|
|
|
|
|
|
- var py1_score=$("#py1_score").text();
|
|
|
- var py2_score=$("#py2_score").text();
|
|
|
+ var py1_score= parseInt($("#py1_score").text()) ;
|
|
|
+ var py2_score=parseInt($("#py2_score").text());
|
|
|
if(py1_score > py2_score){
|
|
|
|
|
|
_this.tips('恭喜你获得胜利');
|