huiwon.seo 4 years ago
parent
commit
fa91d54144
1 changed files with 7 additions and 2 deletions
  1. 7 2
      src/main/webapp/WEB-INF/jsp/mobile/login/login.jsp

+ 7 - 2
src/main/webapp/WEB-INF/jsp/mobile/login/login.jsp

@@ -50,7 +50,13 @@ $( function(){
                     
                     location.href = '/mobile/menu';
                 } else {
-                    $("#errMsg").text( resultMsg );
+                    $("#errMsg").text( resultMsg ).stop().animate({
+                        marginLeft: "5px"
+                    }, 50, function(){
+                        $(this).animate({
+                            marginLeft: "0px"
+                        }, 50);
+                    });
                 };
             }, null, null );
         }
@@ -59,7 +65,6 @@ $( function(){
     if (localStorage.getItem( "id" ) != null) {
         autoLogin();
     }
-    
 });