|
@@ -43,19 +43,12 @@ $( function(){
|
|
|
var resultMsg = data.message;
|
|
|
|
|
|
if( data.code == "00" ) {
|
|
|
+ localStorage.clear();
|
|
|
localStorage.id = data.id;
|
|
|
localStorage.pw = $( "#pw" ).val();
|
|
|
localStorage.cc = data.cc;
|
|
|
-
|
|
|
-// if( isMobile() ) {
|
|
|
-// if( checkDevice() == "android" ) {
|
|
|
-// window.android.login(data.id, data.pw);
|
|
|
-// } else if( checkDevice() == "ios" ){
|
|
|
-
|
|
|
-// }
|
|
|
-// }
|
|
|
|
|
|
- location.replace( '/mobile/menu' );
|
|
|
+ location.href = '/mobile/menu';
|
|
|
} else {
|
|
|
$("#errMsg").text( resultMsg );
|
|
|
};
|