Commit eaf8d78a authored by Lucas Saliés Brum's avatar Lucas Saliés Brum 🖐🏻

Autocommit por GitLab.sh: alterações: add 'js/script.js'

parent 2bf4ada8
......@@ -2,14 +2,16 @@ $(function() {
//$("#numeros").prop("checked", false);
$('select#tamanho>option:eq(3)').attr('selected', true);
if(localStorage.getItem('senha')) {
$("#senha").val(localStorage.getItem('senha'));
}
if(localStorage.getItem('tamanho')) {
let tam = localStorage.getItem('tamanho');
$('select#tamanho>option:eq(' + tam +')').attr('selected', true);
}
//if(localStorage.getItem('tamanho')) {
// let tam = localStorage.getItem('tamanho');
// $('select#tamanho>option:eq(' + tam +')').attr('selected', true);
//}
if(localStorage.getItem('minusculas')) {
$('input[name="minusculas"]').prop("checked", localStorage.getItem('minusculas'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment