Skip to content

Commit

Permalink
always use lowercase for homeinstance
Browse files Browse the repository at this point in the history
  • Loading branch information
lartsch committed Dec 19, 2022
1 parent ddc8ac9 commit a26c0d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function popupTasks() {
// get all current values and write them to the local storage
async function updateSettings(){
// update settings values
settings.fediact_homeinstance = $("input#homeinstance").val().trim()
settings.fediact_homeinstance = $("input#homeinstance").val().trim().toLowerCase()
settings.fediact_alert = $("input#alert").is(':checked')
settings.fediact_mode = $("select#mode").val()
settings.fediact_whitelist = $("textarea#whitelist_content").val()
Expand Down
2 changes: 1 addition & 1 deletion src/popup.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a26c0d2

Please sign in to comment.