mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35: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
10
assets/controllers/pages/u2f_register_controller.js
Normal file
10
assets/controllers/pages/u2f_register_controller.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
import {Controller} from "@hotwired/stimulus";
|
||||
|
||||
export default class extends Controller
|
||||
{
|
||||
connect() {
|
||||
this.element.onclick = function() {
|
||||
window.u2fauth.register();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue