Skip to content

Commit 2e02f7e

Browse files
committed
fix migration error
1 parent c7a83e5 commit 2e02f7e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

blackjack.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@ <h3 class="panel-title"><span class="glyphicon glyphicon-fire"></span> Dealer <s
7979
<!-- Include all compiled plugins (below), or include individual files as needed -->
8080
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
8181

82-
<script src="blackjack.js"></script>
82+
<script src="blackjack.js?3"></script>
8383
</body>
8484
</html>

blackjack.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function game_set(wins){
152152
else
153153
score--;
154154

155-
$.ajax("http://jquery.pastleo.me/record.php",{
155+
$.ajax("record.php",{
156156
dataType:"json",
157157
data:{"name":player_name,"win":wins},
158158
success:function(data){
@@ -223,7 +223,7 @@ $(document).ready(function(){
223223
outcome("你好","info");
224224
});
225225

226-
$.ajax("http://jquery.pastleo.me/record.php",{
226+
$.ajax("record.php",{
227227
dataType:"json",
228228
success:function(data){
229229
$(".table").empty().append($("<tr><td>玩家</td><td>分數</td></tr>"));

0 commit comments

Comments
 (0)