diff options
Diffstat (limited to 'js/record.js')
| -rw-r--r-- | js/record.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/record.js b/js/record.js index 9fbb503..9fd1de4 100644 --- a/js/record.js +++ b/js/record.js @@ -156,11 +156,11 @@ function backgroundColor(){ var colors = [ source.style.backgroundColor, - document.body.backgroundColor, + document.body.style.backgroundColor, "white" ] for (var i in colors) { - if (colors[i] != "") return colors[i] + if (colors[i] && colors[i] != "") return colors[i] } } function capture(){ |
