Skip to content

Commit

Permalink
убрал кликабельность с пустых ячеек
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcom committed Nov 3, 2023
1 parent c002379 commit 8b24248
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/main/webapp/WEB-INF/jsp/whois.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@
empty: "{date}",
filled: "{date}<br>сообщений: {count}"
},
onClick: function (date, nb) {
window.open('/search.jsp?dt='+date.getTime()+'&user=${user.nick}', '_blank');
}
onClick: function (date, count) {
if (count > 0) {
window.open('/search.jsp?dt='+date.getTime()+'&user=${user.nick}', '_blank');
}
}
});
}
});
Expand Down

0 comments on commit 8b24248

Please sign in to comment.