1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00

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.
This commit is contained in:
mrburns 2015-05-08 10:20:27 +02:00
parent c08baee085
commit 5c63e1015d

View File

@ -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({