Skip to content

Commit

Permalink
jutro je
Browse files Browse the repository at this point in the history
  • Loading branch information
voloder committed Jan 29, 2024
1 parent b4a25ba commit 87d0de5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h1 class="m-0">KOD KVIZA:</h1>
<div class="text-muted" id="nemaigraca">Nema učesnika</div>
</div>
</div>
<div class="text-danger text-center nodisplay" id="nema-kategorije-tekst">Prvo odaberite kategorije!</div>
<div class="text-danger text-center nodisplay" id="nema-kategorije-tekst">Prvo odaberite bar 2 kategorije!</div>
<div class="d-flex justify-content-center">
<button class="btn btn-primary text-white pt-1 pb-1 ps-4 pe-4 display-5 rounded-pill"
id="zapocni-button">ZAPOČNI</button>
Expand Down
2 changes: 1 addition & 1 deletion static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ $.get("/kategorije/", function (data) {
function updateKategorije() {
var kategorije = odabraneKategorije();

if (kategorije.length == 0) {
if (kategorije.length < 2) {
$("#nema-kategorije-tekst").removeClass("nodisplay");
$("#nema-kategorije-strijela").removeClass("nodisplay");
} else {
Expand Down

0 comments on commit 87d0de5

Please sign in to comment.