mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Merge pull request #6288 from andrewpbrett/fix-cookies-banner
update template path for cookies banner, fix #6284
This commit is contained in:
@@ -4,7 +4,7 @@ Darkswarm.factory "CookiesBannerService", (Navigation, $modal, $location, Redire
|
||||
modalMessage: null
|
||||
isEnabled: false
|
||||
|
||||
open: (path, template = 'angular-templates/cookies_banner.html') =>
|
||||
open: (path, template = '/angular-templates/cookies_banner.html') =>
|
||||
return unless @isEnabled
|
||||
@modalInstance = $modal.open
|
||||
templateUrl: template
|
||||
|
||||
@@ -8,7 +8,7 @@ Darkswarm.factory "CookiesPolicyModalService", (Navigation, $modal, $location, C
|
||||
if @isEnabled()
|
||||
@open ''
|
||||
|
||||
open: (path = false, template = 'angular-templates/cookies_policy.html') =>
|
||||
open: (path = false, template = '/angular-templates/cookies_policy.html') =>
|
||||
@modalInstance = $modal.open
|
||||
templateUrl: template
|
||||
windowClass: "cookies-policy-modal medium"
|
||||
|
||||
Reference in New Issue
Block a user