Sfoglia il codice sorgente

Merge branch 'master' of http://47.100.37.243:10080/wutt/game

# Conflicts:
#	minigame/WebContent/js/main.js
sunyadv 5 anni fa
parent
commit
b7c6442c46
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      minigame/WebContent/js/main.js

+ 1 - 1
minigame/WebContent/js/main.js

@@ -614,7 +614,7 @@ function handleComplete(evt, comp) {
                         })
 
 
-                        if(document.location.href.indexOf('type') > -1){
+                        if(document.location.href.indexOf('type') == -1){
                             var href = document.location.href + (document.location.href.indexOf('?') > -1?'&':'?') + "type=" + chooseType + "&food=" + dishIndex;
                             history.pushState("", "Title", href);
                         }