mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-27 12:28:48 +01:00
fix #1396 and add a test for it
This commit is contained in:
parent
28bfbe6f1d
commit
fe31eb75a5
3 changed files with 28 additions and 3 deletions
|
|
@ -9,7 +9,11 @@
|
|||
<% end -%>
|
||||
|
||||
function hide_empty_message() {
|
||||
$('contexts-empty-nd').hide();
|
||||
<% if @context.hidden? -%>
|
||||
$('div#hidden-contexts-empty-nd').hide();
|
||||
<% else -%>
|
||||
$('div#active-contexts-empty-nd').hide();
|
||||
<% end -%>
|
||||
}
|
||||
|
||||
function add_context(state) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue