Merge pull request #6288 from andrewpbrett/fix-cookies-banner

update template path for cookies banner, fix #6284
This commit is contained in:
Pau Pérez Fabregat
2020-11-02 20:52:46 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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"