mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 14:08:42 +00:00
chore(problem/remote): disable autocomplete
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
44dd1f112d
commit
cfcced0984
@ -1051,8 +1051,8 @@ $.fn.remote_submit_type_group = function(oj, pid, url, submit_type) {
|
|||||||
|
|
||||||
if (oj == 'luogu') {
|
if (oj == 'luogu') {
|
||||||
var luogu_account_data = {"_uid": "", "__client_id": ""};
|
var luogu_account_data = {"_uid": "", "__client_id": ""};
|
||||||
var input_luogu_uid = $('<input class="form-control font-monospace" type="text" name="luogu_uid" id="input-luogu_uid" />');
|
var input_luogu_uid = $('<input class="form-control font-monospace" type="text" name="luogu_uid" id="input-luogu_uid" autocomplete="off" />');
|
||||||
var input_luogu_client_id = $('<input class="form-control font-monospace" type="text" name="luogu_client_id" id="input-luogu_client_id" />');
|
var input_luogu_client_id = $('<input class="form-control font-monospace" type="text" name="luogu_client_id" id="input-luogu_client_id" autocomplete="off" />');
|
||||||
|
|
||||||
if ('localStorage' in window) {
|
if ('localStorage' in window) {
|
||||||
try {
|
try {
|
||||||
@ -1116,7 +1116,7 @@ $.fn.remote_submit_type_group = function(oj, pid, url, submit_type) {
|
|||||||
).append(input_my_account_data);
|
).append(input_my_account_data);
|
||||||
} else if (oj == 'codeforces') {
|
} else if (oj == 'codeforces') {
|
||||||
var codeforces_account_data = {"JSESSIONID": ""};
|
var codeforces_account_data = {"JSESSIONID": ""};
|
||||||
var input_codeforces_jsessionid = $('<input class="form-control font-monospace" type="text" name="codeforces_jsessionid" id="input-codeforces_jsessionid" />');
|
var input_codeforces_jsessionid = $('<input class="form-control font-monospace" type="text" name="codeforces_jsessionid" id="input-codeforces_jsessionid" autocomplete="off" />');
|
||||||
|
|
||||||
if ('localStorage' in window) {
|
if ('localStorage' in window) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user