1
1
mirror of https://github.com/go-gitea/gitea synced 2024-07-04 00:55:48 +00: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> </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({