File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
66
77## [ Unreleased]
88
9+ ### Fixed
10+ - added workaround for break window background color issue
11+
912## [ 1.8.0] - 2021-11-21
1013### Added
1114- new break ideas
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ window.onload = (event) => {
3636 const closeElement = document . querySelector ( '#close' )
3737 const mainColor = settings . get ( 'mainColor' )
3838 document . body . classList . add ( mainColor . substring ( 1 ) )
39+ document . body . style . backgroundColor = mainColor
3940
4041 document . querySelectorAll ( '.tiptext' ) . forEach ( tt => {
4142 const keyboardShortcut = settings . get ( 'endBreakShortcut' )
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ window.onload = (e) => {
3434 const closeElement = document . querySelector ( '#close' )
3535 const mainColor = settings . get ( 'mainColor' )
3636 document . body . classList . add ( mainColor . substring ( 1 ) )
37+ document . body . style . backgroundColor = mainColor
3738
3839 document . querySelectorAll ( '.tiptext' ) . forEach ( tt => {
3940 const keyboardShortcut = settings . get ( 'endBreakShortcut' )
You can’t perform that action at this time.
0 commit comments