fix change theme

stable
Juanfran 2015-11-26 08:02:41 +01:00
parent de6f60b52e
commit 4831b9f5d7
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class ThemeService extends taiga.Service = ->
stylesheetEl = $("<link rel='stylesheet' href='' type='text/css'>") stylesheetEl = $("<link rel='stylesheet' href='' type='text/css'>")
$("head").append(stylesheetEl) $("head").append(stylesheetEl)
stylesheetEl.attr("href", "/styles/theme-#{themeName}.css") stylesheetEl.attr("href", "/#{window._version}/styles/theme-#{themeName}.css")
angular.module("taigaCommon").service("tgThemeService", ThemeService) angular.module("taigaCommon").service("tgThemeService", ThemeService)