0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 08:54:17 -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({