Skip to content

Commit

Permalink
Fix event functions
Browse files Browse the repository at this point in the history
  • Loading branch information
mixmint authored Jan 27, 2025
1 parent e248472 commit 9c006ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ const toggleSignInButtons = (checkboxSelector, buttonSelector) => {
};

const configureInputFocusBehavior = () => {
$('input[readonly]').on('focus', () => {
$('input[readonly]').on('focus', function () {
$(this).prop('readonly', false);
});
$('input:not([readonly])').on('blur', () => {
$('input:not([readonly])').on('blur', function () {
$(this).prop('readonly', true);
});
};
Expand Down

0 comments on commit 9c006ba

Please sign in to comment.