projects
/
profile
/
ivi
/
cowhide.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e57ee36
)
(core) Fixes logic for setting night mode.
author
Salvatore Iovene
<salvatore@iovene.com>
Wed, 30 Jan 2013 05:28:29 +0000
(07:28 +0200)
committer
Salvatore Iovene
<salvatore@iovene.com>
Wed, 30 Jan 2013 05:28:29 +0000
(07:28 +0200)
src/javascripts/cowhide-core.js
patch
|
blob
|
history
diff --git
a/src/javascripts/cowhide-core.js
b/src/javascripts/cowhide-core.js
index
d5e0e9c
..
f1a1c35
100644
(file)
--- a/
src/javascripts/cowhide-core.js
+++ b/
src/javascripts/cowhide-core.js
@@
-109,8
+109,7
@@
if (this.nightMode == value)
return;
- this.nightMode = value;
- this.setTheme(this.currentTheme, this.nightMode);
+ this.setTheme(this.currentTheme, !this.nightMode);
},
toggleNightMode: function() {