Fixed loading of uncompressed slimbox-JS during debug mode
authorAlexander Ebert <ebert@woltlab.com>
Fri, 4 Oct 2013 12:51:23 +0000 (14:51 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 4 Oct 2013 12:51:23 +0000 (14:51 +0200)
com.woltlab.wcf/templates/imageViewer.tpl

index 69e655e63ea470473e2a112cebf94a0e314fb4dc..fd15c6d5800fa85228f216421be565c27e0fa70a 100644 (file)
@@ -1,5 +1,5 @@
 {if !$__imageViewerLoaded|isset}
-       <script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/slimbox2.min.js"></script>
+       <script data-relocate="true" src="{@$__wcf->getPath()}js/3rdParty/slimbox2{if !ENABLE_DEBUG_MODE}.min{/if}.js"></script>
        <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.ImageViewer{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@$__wcfVersion}"></script>
        <script data-relocate="true">
                //<![CDATA[