diff options
author | r <r@freesoftwareextremist.com> | 2020-02-23 13:26:39 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-02-23 18:01:50 +0000 |
commit | e9f5e0cab55a8a92575139788ffb003ed5d4f576 (patch) | |
tree | f6b858d4dc5a7eb623bd139713eacd2faea17ef1 /service | |
parent | dd23ac48678c704949074dd0e41bb8a3550cc33f (diff) | |
download | bloat-e9f5e0cab55a8a92575139788ffb003ed5d4f576.tar.gz bloat-e9f5e0cab55a8a92575139788ffb003ed5d4f576.zip |
Use <base> element to set target
Diffstat (limited to 'service')
-rw-r--r-- | service/service.go | 2 |
1 files changed, 2 insertions, 0 deletions
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, |