disable unused JS

This commit is contained in:
Christoph Haas 2025-05-11 21:26:02 +02:00
parent 98d47c060f
commit d4196505b8
2 changed files with 12 additions and 12 deletions

View file

@ -70,9 +70,9 @@
/ #metadata is the anchor for this sticky container.
= render(partial: 'details_rightbox', locals: {pkg: @package})
javascript:
// Where to send POST requests for uploads
let ajax_upload_url = '#{{upload_receive_json_path}}';
/ javascript:
/ // Where to send POST requests for uploads
/ let ajax_upload_url = '#{{upload_receive_json_path}}';
// Where to go to after a successful image upload
let after_upload_url = '#{{package_path(@package)}}';
/ // Where to go to after a successful image upload
/ let after_upload_url = '#{{package_path(@package)}}';