From 9a9abc3230777821baacb8d36d194e48d0b551cc Mon Sep 17 00:00:00 2001 From: johnyma22 Date: Mon, 15 Oct 2012 02:12:45 +0100 Subject: [PATCH] make password focus on input when prompted --- src/static/js/pad.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/static/js/pad.js b/src/static/js/pad.js index 897770405..c5cd489e5 100644 --- a/src/static/js/pad.js +++ b/src/static/js/pad.js @@ -292,13 +292,13 @@ function handshake() { $("#editorloadingbox").html("You need a password to access this pad
" + ""+ - ""); + ""); } else if(obj.accessStatus == "wrongPassword") { $("#editorloadingbox").html("You're password was wrong
" + ""+ - ""); + ""); } }