OSDN Git Service

[更新]:ログイン画面から起動時のフェードアウトを無効化
authornaoko1010hh <naoko561010@gmail.com>
Mon, 2 Mar 2020 07:34:31 +0000 (16:34 +0900)
committernaoko1010hh <naoko561010@gmail.com>
Mon, 2 Mar 2020 07:34:31 +0000 (16:34 +0900)
js/theme.js

index ffd6691..1fe534e 100644 (file)
@@ -52,7 +52,7 @@ $(greeter).on("ready", function(e) {
                and 'deny' will be emitted on failure */
                if (e.keyCode == 13) {
                        if(!$("#inputPassword").val() == ""){
-                               $("body").addClass("gaussfade-out");
+                               // $("body").addClass("gaussfade-out");
                                let username = $user.children("option:selected").val();
                                let pass = $password.val();
                                greeter.auth(username, pass);
@@ -71,7 +71,7 @@ $(greeter).on("ready", function(e) {
                // inform the user that the credentials are invalid
                $password.removeClass("valid").addClass("invalid");
                $password.val("").prop("placeholder", "Incorrect Password");
-               setTimeout('$("body").removeClass("gaussfade-out")', 2000);
+               // setTimeout('$("body").removeClass("gaussfade-out")', 2000);
        });
 
        $(greeter.plugins.SplashScreen).on("active", function() {