Commit 978486f94cce386edbb5ce4fe3f12665382b92f7
1 parent
d1c22d95
Exists in
master
and in
1 other branch
git-svn-id: https://svn.bento.ifrs.edu.br/default/ASES/ASES%20-%20Web/ASES%20-%2…
…0Web/Fontes/avaliador-web@10625 c2178572-b5ca-4887-91d2-9e3a90c7d55b
Showing
1 changed file
with
10 additions
and
6 deletions
Show diff stats
src/main/webapp/inicial_arquivos/js/tab_script.js
1 | 1 | $(document).ready(function() |
2 | 2 | |
3 | 3 | { |
4 | - var teclaPressionada; | |
5 | - var shiftPressionado; | |
6 | - | |
4 | + | |
5 | + var teclaPressionada; | |
6 | + var shiftPressionado; | |
7 | + | |
7 | 8 | $(document).keydown(function(e) { |
8 | 9 | if(e.which != 13 ) |
9 | 10 | { |
10 | 11 | shiftPressionado = e.shiftKey; |
11 | 12 | teclaPressionada = e.which; |
12 | - | |
13 | + | |
14 | + | |
13 | 15 | $("#input").blur(function() { |
14 | - if (shiftPressionado == true) { | |
16 | + if (shiftPressionado == true) { | |
15 | 17 | $("#tab-2").prop("checked", true); |
16 | 18 | } |
17 | 19 | }); |
... | ... | @@ -37,4 +39,6 @@ $(document).ready(function() |
37 | 39 | } |
38 | 40 | }); |
39 | 41 | |
40 | - }); | |
41 | 42 | \ No newline at end of file |
43 | + }); | |
44 | + | |
45 | + | ... | ... |