|
@@ -44,10 +44,15 @@ $( function(){
|
|
|
|
|
|
if( data.code == "00" ) {
|
|
if( data.code == "00" ) {
|
|
console.log("checkMobile() -- > " + checkMobile());
|
|
console.log("checkMobile() -- > " + checkMobile());
|
|
|
|
+ console.log( "isMobile() -- > " + isMobile() );
|
|
|
|
|
|
- if (checkMobile() == "android") {
|
|
|
|
- window.android.login(data.id, data.pw);
|
|
|
|
- };
|
|
|
|
|
|
+ if( isMobile() ) {
|
|
|
|
+ if( checkDevice() == "android" ) {
|
|
|
|
+ window.android.login(data.id, data.pw);
|
|
|
|
+ } else if( checkDevice() == "ios" ){
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
|
|
location.href="/mobile/menu";
|
|
location.href="/mobile/menu";
|
|
} else {
|
|
} else {
|