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.
forgejo
mrburns 9 years ago
parent c08baee085
commit 5c63e1015d

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

Loading…
Cancel
Save