-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from coliff/v120-release
Release v1.2.0
- Loading branch information
Showing
11 changed files
with
44 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: monthly | ||
versioning-strategy: increase | ||
- package-ecosystem: npm | ||
directory: "/" | ||
schedule: | ||
interval: monthly | ||
versioning-strategy: increase | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: monthly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,23 @@ | ||
document.querySelector("[type='password']").classList.add("input-password"); | ||
document.getElementById("toggle-password").classList.remove("d-none"); | ||
const passwordInput = document.querySelector("[type='password']"); | ||
const togglePasswordButton = document.getElementById("toggle-password"); | ||
togglePasswordButton.addEventListener("click", togglePassword); | ||
function togglePassword() { | ||
if (passwordInput.type === "password") { | ||
passwordInput.type = "text"; | ||
togglePasswordButton.setAttribute("aria-label", "Hide password."); | ||
} else { | ||
passwordInput.type = "password"; | ||
togglePasswordButton.setAttribute( | ||
"aria-label", | ||
"Show password as plain text. " + | ||
"Warning: this will display your password on the screen." | ||
); | ||
var ShowPasswordToggle = document.querySelector("[type='password']"); | ||
ShowPasswordToggle.onclick = function () { | ||
document.querySelector("[type='password']").classList.add("input-password"); | ||
document.getElementById("toggle-password").classList.remove("d-none"); | ||
|
||
const passwordInput = document.querySelector("[type='password']"); | ||
const togglePasswordButton = document.getElementById("toggle-password"); | ||
|
||
togglePasswordButton.addEventListener("click", togglePassword); | ||
function togglePassword() { | ||
if (passwordInput.type === "password") { | ||
passwordInput.type = "text"; | ||
togglePasswordButton.setAttribute("aria-label", "Hide password."); | ||
} else { | ||
passwordInput.type = "password"; | ||
togglePasswordButton.setAttribute( | ||
"aria-label", | ||
"Show password as plain text. " + | ||
"Warning: this will display your password on the screen." | ||
); | ||
} | ||
} | ||
} | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
display: none; | ||
} | ||
|
||
|
||
button#toggle-password { | ||
position: absolute; | ||
top: 3px; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters