From 60f7599dbfddd90e81a83ec29a81b8201bf9f315 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 11 Jan 2014 05:02:26 +0000 Subject: [PATCH] load theme css with version too --- tools/build/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build/build.py b/tools/build/build.py index b9df07d9..533d5a4a 100755 --- a/tools/build/build.py +++ b/tools/build/build.py @@ -52,7 +52,7 @@ def build_oxjs(downloads=False, geo=False): # Ox.UI CSS css = read_file(source_path + 'Ox.UI/css/Ox.UI.css') css = css.replace('$import', '\n'.join([ - '@import url("../themes/%s/css/theme.css");' % theme for theme in themes + '@import url("../themes/%s/css/theme.css?%s");' % (theme, version) for theme in themes ])) write_file('%sOx.UI/css/Ox.UI.css' % build_path, css) write_file('%sOx.UI/css/Ox.UI.css' % dev_path, css)