Skip to content

Commit a6150ef

Browse files
committed
Add the missing cache buster to the stylesheet
See https://www.woltlab.com/community/thread/316986/
1 parent 9b116ad commit a6150ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.woltlab.wcf/templates/shared_imageViewer.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
stylesheet = document.createElement("link");
3838
stylesheet.rel = "stylesheet";
3939
stylesheet.type = "text/css";
40-
stylesheet.href = "{$__wcf->getPath()}style/fancybox.css";
40+
stylesheet.href = "{$__wcf->getPath()}style/fancybox.css?t={LAST_UPDATE_TIME}";
4141
stylesheet.id = "fancybox-stylesheet";
4242
4343
document.querySelector('link[rel="stylesheet"]').before(stylesheet);

0 commit comments

Comments
 (0)