mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00
Linter: Fix all lint errors
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
b0a45bdf9c
commit
136d895d15
51 changed files with 2245 additions and 1539 deletions
|
@ -262,8 +262,8 @@ function updateItemFromNow () {
|
|||
}
|
||||
}
|
||||
|
||||
var clearHistory = false
|
||||
var deleteId = null
|
||||
let clearHistory = false
|
||||
let deleteId = null
|
||||
|
||||
function deleteHistory () {
|
||||
checkIfAuth(() => {
|
||||
|
@ -431,9 +431,9 @@ $('.search').keyup(() => {
|
|||
|
||||
// focus user field after opening login modal
|
||||
$('.signin-modal').on('shown.bs.modal', function () {
|
||||
let fieldLDAP = $('input[name=username]')
|
||||
let fieldEmail = $('input[name=email]')
|
||||
let fieldOpenID = $('input[name=openid_identifier]')
|
||||
const fieldLDAP = $('input[name=username]')
|
||||
const fieldEmail = $('input[name=email]')
|
||||
const fieldOpenID = $('input[name=openid_identifier]')
|
||||
if (fieldLDAP.length === 1) {
|
||||
fieldLDAP.focus()
|
||||
} else if (fieldEmail.length === 1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue