Skip to content

Commit

Permalink
Merge pull request #168 from coliff/dev/coliff/update-license
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff authored Jul 21, 2023
2 parents b0fc052 + d47031c commit ad1c027
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) Christian Oliff
Copyright (c) 2020-2023 Christian Oliff

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 6 additions & 0 deletions js/show-password-toggle.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*!
* Bootstrap Show Password Toggle v1.4.0
* Copyright 2020-2023 C.Oliff
* Licensed under MIT (https://github.com/coliff/bootstrap-show-password-toggle/blob/main/LICENSE)
*/

var ShowPasswordToggle = document.querySelector("[type='password']");
ShowPasswordToggle.onclick = function () {
document.querySelector("[type='password']").classList.add("input-password");
Expand Down
5 changes: 5 additions & 0 deletions js/show-password-toggle.min.js

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

4 changes: 2 additions & 2 deletions tests/bootstrap5-sign-in/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<meta name="monetization" content="$ilp.uphold.com/Epqzn3YGr2MB">
<link rel="stylesheet" href="../../css/show-password-toggle.css">
<script>
if (window.xmatchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.documentElement.setAttribute('data-bs-theme', 'dark');
}
</script>
Expand Down Expand Up @@ -59,4 +59,4 @@ <h1 class="h3 mb-3 text-center">Please sign in</h1>
<script src="../../js/show-password-toggle.js" async></script>
</body>

</html>
</html>

0 comments on commit ad1c027

Please sign in to comment.