disable unused JS
This commit is contained in:
parent
98d47c060f
commit
d4196505b8
2 changed files with 12 additions and 12 deletions
|
|
@ -70,9 +70,9 @@
|
||||||
/ #metadata is the anchor for this sticky container.
|
/ #metadata is the anchor for this sticky container.
|
||||||
= render(partial: 'details_rightbox', locals: {pkg: @package})
|
= render(partial: 'details_rightbox', locals: {pkg: @package})
|
||||||
|
|
||||||
javascript:
|
/ javascript:
|
||||||
// Where to send POST requests for uploads
|
/ // Where to send POST requests for uploads
|
||||||
let ajax_upload_url = '#{{upload_receive_json_path}}';
|
/ let ajax_upload_url = '#{{upload_receive_json_path}}';
|
||||||
|
|
||||||
// Where to go to after a successful image upload
|
/ // Where to go to after a successful image upload
|
||||||
let after_upload_url = '#{{package_path(@package)}}';
|
/ let after_upload_url = '#{{package_path(@package)}}';
|
||||||
|
|
|
||||||
|
|
@ -64,11 +64,11 @@ h1 = "Upload screenshots for #{@package.name}"
|
||||||
' from a shell using after setting "export LANG=C".
|
' from a shell using after setting "export LANG=C".
|
||||||
li can be pasted here from your clipboard (Ctrl-V)
|
li can be pasted here from your clipboard (Ctrl-V)
|
||||||
|
|
||||||
javascript:
|
/ javascript:
|
||||||
// todo: use data attributes to pass this information to javascript
|
/ // todo: use data attributes to pass this information to javascript
|
||||||
// https://chat.deepseek.com/a/chat/s/41a4350b-7799-42bf-aec9-3c205b22ab24
|
/ // https://chat.deepseek.com/a/chat/s/41a4350b-7799-42bf-aec9-3c205b22ab24
|
||||||
// Where to send POST requests for uploads
|
/ // Where to send POST requests for uploads
|
||||||
let ajax_upload_url = '#{{upload_receive_json_path}}';
|
/ let ajax_upload_url = '#{{upload_receive_json_path}}';
|
||||||
|
|
||||||
// Where to go to after a successful image upload
|
/ // Where to go to after a successful image upload
|
||||||
let after_upload_url = '#{{package_path(@package)}}';
|
/ let after_upload_url = '#{{package_path(@package)}}';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue