mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-26 11:48:49 +02:00
Removed the last inline scripts.
This commit is contained in:
parent
1c7c3bf2c5
commit
3ee8b26ddf
4 changed files with 20 additions and 2 deletions
|
@ -0,0 +1,8 @@
|
|||
import {Controller} from "@hotwired/stimulus";
|
||||
|
||||
export default class extends Controller
|
||||
{
|
||||
download(event) {
|
||||
this.element.href = document.getElementById('pdf_preview').data
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue