Commit 4dc642ee0dfb92a3ca5d6f622e791915abac8341
1 parent
d4f5cd96
Exists in
master
and in
8 other branches
Fix: values of cookies must be parsed
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/app/index.run.js
... | ... | @@ -11,7 +11,7 @@ |
11 | 11 | function handleAccessibility($rootScope, $timeout, $cookies, $log) { |
12 | 12 | $log.debug('handleAccessibility'); |
13 | 13 | |
14 | - var contrast = $cookies.get('dialoga_contraste'); | |
14 | + var contrast = $cookies.get('dialoga_contraste') === "true"; | |
15 | 15 | adjustContrast(contrast); |
16 | 16 | |
17 | 17 | function adjustContrast(state){ | ... | ... |