Skip to content

Commit

Permalink
fix: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rugk authored Jul 23, 2023
1 parent c7fc2c2 commit 1c54aec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content_script/pleromaGetUsername.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
* @returns {string}
*/
function getUsername() {
const hiddenInputFied = document.querySelector('[name="user[nickname]"]') || document.getElementById("user_nickname");
const hiddenInputField = document.querySelector('[name="user[nickname]"]') || document.getElementById("user_nickname");

return hiddenInputFied.value;
return hiddenInputField.value;
}

getUsername();

0 comments on commit 1c54aec

Please sign in to comment.