Skip to content

Commit 93d40ac

Browse files
Town6: Sidebar navigation closing
TYPE: Bugfix LINK: OGC-2871
1 parent cadf75d commit 93d40ac

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/onegov/town6/assets/js/sidebar_mobile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
$('#offCanvasSidebar a').click(function() { $('.off-canvas').foundation('close'); });
1+
$('#offCanvasSidebar').on('click', 'a', function() {
2+
$('.off-canvas').foundation('close');
3+
});
24

35
if (!$('.sidebar-wrapper').length) {
46
$('.sidebar-toggler').css('display', 'none');

0 commit comments

Comments
 (0)