Removed the last inline scripts.

This commit is contained in:
Jan Böhmer 2022-08-03 21:31:35 +02:00
parent 1c7c3bf2c5
commit 3ee8b26ddf
4 changed files with 20 additions and 2 deletions

View file

@ -0,0 +1,10 @@
import {Controller} from "@hotwired/stimulus";
export default class extends Controller
{
connect() {
this.element.onclick = function() {
window.u2fauth.register();
}
}
}