Browse Source

Service worker js is a missing comma (#6788) (#6795)

tags/v1.8.1
techknowlogick 6 years ago committed by GitHub
parent
commit
98d82a7dd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      templates/pwa/serviceworker_js.tmpl

4
templates/pwa/serviceworker_js.tmpl

@ -34,10 +34,10 @@ var urlsToCache = [
'{{AppSubUrl}}/vendor/plugins/dropzone/dropzone.css',
{{if .IsSigned }}
{{ if ne .SignedUser.Theme "gitea" }}
'{{AppSubUrl}}/css/theme-{{.SignedUser.Theme}}.css'
'{{AppSubUrl}}/css/theme-{{.SignedUser.Theme}}.css',
{{end}}
{{else if ne DefaultTheme "gitea"}}
'{{AppSubUrl}}/css/theme-{{DefaultTheme}}.css'
'{{AppSubUrl}}/css/theme-{{DefaultTheme}}.css',
{{end}}
// img

Loading…
Cancel
Save