vue: inheritPoint(WIP)

This commit is contained in:
Hide_D committed 2021-09-03 02:42:50 +09:00
1 parent 12f37f76c7
commit 6e4113de11
12 files changed
+1000 -6

No files matched your search

+2 -3
View File
@@ -12,7 +12,6 @@ import { sha512 } from 'js-sha512';
import { unwrap } from '../util/unwrap';
import { InvalidResponse } from '../defs';
type LoginResponse = {
result: true,
} | {
@@ -125,7 +124,7 @@ async function doLoginUsingOAuth() {
return;
}
const $modal = $('#modalOTP').modal();
const $modal = $('#modalOTP').modal() as unknown as JQuery;
$modal.on('shown.bs.modal', function () {
$('#otp_code').trigger('focus');
});
@@ -222,7 +221,7 @@ $(function ($) {
return;
}
const $modal = $('#modalOTP').modal();
const $modal = $('#modalOTP').modal() as unknown as JQuery;
$modal.on('shown.bs.modal', function () {
$('#otp_code').trigger('focus');
});