diff --git a/sapl/templates/painel/voto_nominal.html b/sapl/templates/painel/voto_nominal.html index a7abb39bc..187a23e66 100644 --- a/sapl/templates/painel/voto_nominal.html +++ b/sapl/templates/painel/voto_nominal.html @@ -86,11 +86,11 @@
-
+
  -
+
  -
+


@@ -134,13 +134,14 @@ $( "#votoabstencao" ).mouseleave(function(){document.location.reload(true);}); $(document).on('keyup', (e) => {if (e.keyCode == 83){ - document.getElementsByClassName("btn btn-lg btn-success")[0].click() + document.querySelectorAll("#votosim input")[0].click(); + };}); $(document).on('keyup', (e) => {if (e.keyCode == 78){ - document.getElementsByClassName("btn btn-lg btn-danger")[0].click() + document.querySelectorAll("#votonao input")[0].click(); };}); $(document).on('keyup', (e) => {if (e.keyCode == 65){ - document.getElementsByClassName("btn btn-lg btn-secondary")[0].click() + document.querySelectorAll("#votoabstencao input")[0].click(); };}); $(document).ready( @@ -165,7 +166,7 @@ startTime(); setTimeout(function() { - // document.location.reload(true); + document.location.reload(true); }, 30000) });