|
@@ -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);
|
|
|
}
|