Skip to content

Commit ad1c027

Browse files
authored
Merge pull request #168 from coliff/dev/coliff/update-license
2 parents b0fc052 + d47031c commit ad1c027

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) Christian Oliff
3+
Copyright (c) 2020-2023 Christian Oliff
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

js/show-password-toggle.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*!
2+
* Bootstrap Show Password Toggle v1.4.0
3+
* Copyright 2020-2023 C.Oliff
4+
* Licensed under MIT (https://github.com/coliff/bootstrap-show-password-toggle/blob/main/LICENSE)
5+
*/
6+
17
var ShowPasswordToggle = document.querySelector("[type='password']");
28
ShowPasswordToggle.onclick = function () {
39
document.querySelector("[type='password']").classList.add("input-password");

js/show-password-toggle.min.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/bootstrap5-sign-in/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<meta name="monetization" content="$ilp.uphold.com/Epqzn3YGr2MB">
1313
<link rel="stylesheet" href="../../css/show-password-toggle.css">
1414
<script>
15-
if (window.xmatchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
15+
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
1616
document.documentElement.setAttribute('data-bs-theme', 'dark');
1717
}
1818
</script>
@@ -59,4 +59,4 @@ <h1 class="h3 mb-3 text-center">Please sign in</h1>
5959
<script src="../../js/show-password-toggle.js" async></script>
6060
</body>
6161

62-
</html>
62+
</html>

0 commit comments

Comments
 (0)