Browse Source

Add app sub url for color picker js lib inclusion

Currently, the js file doesn't take into account the possibility of a sub url being used (wich is my case :) wich prevents its inclusion.
mrburns 9 năm trước cách đây
mục cha
commit
5c63e1015d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      templates/repo/issue/list.tmpl

+ 1 - 1
templates/repo/issue/list.tmpl

@@ -96,7 +96,7 @@
         </div>
     </div>
 </div>
-<script src="/js/bootstrap-colorpicker.min.js"></script>
+<script src="{{AppSubUrl}}/js/bootstrap-colorpicker.min.js"></script>
 <script>
     $(function(){
         $('.label-color-picker').colorpicker({