Skip to content

Commit 37f425d

Browse files
committed
bug fix
1 parent 8755797 commit 37f425d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
![forks](https://img.shields.io/github/forks/Chandra-sekhar-pilla/CSPSH)
88
![stars](https://img.shields.io/github/stars/Chandra-sekhar-pilla/CSPSH)
99
![license](https://img.shields.io/github/license/Chandra-sekhar-pilla/CSPSH)
10-
![version](https://img.shields.io/badge/Version-3.5.7-green)
10+
![version](https://img.shields.io/badge/Version-3.5.8-green)
1111

1212
# Steps to use:
1313

@@ -41,8 +41,7 @@
4141
```
4242

4343
# Hotfix info:
44-
- Fixed some css.
45-
- Organized code.
44+
- Bug fixes and improvements.
4645

4746
# Minor Version info:
4847

Source/CSPSH.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export class CSPSH {
196196
})
197197
const mainHolder = click.path[3]
198198
mainHolder.setAttribute('theme', click.srcElement.id);
199-
document.getElementById('themeUsing').innerText = 'Current Theme: ' + click.srcElement.id.toUpperCase()
199+
click.srcElement.parentElement.nextSibling.innerText = 'Current Theme: ' + click.srcElement.id.toUpperCase()
200200
})
201201
})
202202
//end of theme changing

0 commit comments

Comments
 (0)