Fix build error.

This commit is contained in:
kovacsv 2021-08-27 18:13:18 +02:00
parent 524c285792
commit 281e789261

View File

@ -409,7 +409,7 @@ OV.Website = class
let theme = 'dark';
AddButton (this.toolbar, this.eventHandler, 'share', 'Dark Mode', true, () => {
if (theme === 'dark') {
theme = 'light'
theme = 'light';
} else {
theme = 'dark';
}