From e9f5e0cab55a8a92575139788ffb003ed5d4f576 Mon Sep 17 00:00:00 2001 From: r Date: Sun, 23 Feb 2020 13:26:39 +0000 Subject: Use element to set target --- service/service.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'service') diff --git a/service/service.go b/service/service.go index 9e01509..4316f86 100644 --- a/service/service.go +++ b/service/service.go @@ -189,6 +189,7 @@ func (svc *service) ServeNavPage(ctx context.Context, c *model.Client) (err erro } commonData := svc.getCommonData(ctx, c, "Nav") + commonData.Target = "main" data := &renderer.NavData{ User: u, CommonData: commonData, @@ -422,6 +423,7 @@ func (svc *service) ServeNotificationPage(ctx context.Context, c *model.Client, commonData := svc.getCommonData(ctx, c, "notifications") commonData.AutoRefresh = c.Session.Settings.AutoRefreshNotifications + commonData.Target = "main" data := &renderer.NotificationData{ Notifications: notifications, UnreadCount: unreadCount, -- cgit v1.2.3