mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
fix failing selenium tests
This commit is contained in:
parent
bfb6c4ee9a
commit
29e1de8ef2
3 changed files with 6 additions and 6 deletions
|
@ -305,19 +305,19 @@ var TracksPages = {
|
|||
$(".todo_notes").toggle();
|
||||
});
|
||||
|
||||
|
||||
|
||||
/* Poor man's perspectives, allows to hide any context that is collapsed */
|
||||
$("#toggle-contexts-nav").click(function () {
|
||||
/* Need to keep a single toggle across all contexts */
|
||||
$(this).toggleClass("context_visibility");
|
||||
$(this).toggleClass("context_visibility");
|
||||
if ($(this).hasClass("context_visibility")) {
|
||||
$(".context_collapsed").hide(); /* Hide all collapsed contexts together*/
|
||||
}
|
||||
else {
|
||||
$(".context_collapsed").show();
|
||||
$(".context_collapsed").show();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
/* fade flashes and alerts in automatically */
|
||||
$(".alert").fadeOut(8000);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue