Skip to content

Commit 82379f6

Browse files
committed
fixed: make sure to only add program days to the menu once
1 parent ff4019b commit 82379f6

File tree

1 file changed

+1
-1
lines changed
  • views/default/event_manager/program

1 file changed

+1
-1
lines changed

views/default/event_manager/program/view.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function addDay(event) {
5151
} else {
5252
var $program = $('#event_manager_event_view_program');
5353
$program.find('.elgg-tabs-content').append(output.content_body);
54-
$program.find('.elgg-menu-navigation-tabs').append(output.content_title);
54+
$program.find('.elgg-menu-navigation-tabs').eq(0).append(output.content_title);
5555
$program.find("a[rel='day_" + guid + "']").click();
5656
}
5757
} else {

0 commit comments

Comments
 (0)