summaryrefslogtreecommitdiff
path: root/js/record.concat.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/record.concat.js')
-rw-r--r--js/record.concat.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/record.concat.js b/js/record.concat.js
index 11d379c..bff4d7f 100644
--- a/js/record.concat.js
+++ b/js/record.concat.js
@@ -1064,11 +1064,11 @@ function GifEncoder(){
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(){