diff options
| author | Julie Lala <jules@okfoc.us> | 2013-12-27 18:01:51 -0500 |
|---|---|---|
| committer | Julie Lala <jules@okfoc.us> | 2013-12-27 18:01:51 -0500 |
| commit | c23cc55aa82afeed1cfd5f12a77550bafa72b911 (patch) | |
| tree | c3480b2426f81caff6826b02298f9cacf847fa1a /js/record.concat.js | |
| parent | bf6421739d96d6a2f5744efe9016408c1c874dd0 (diff) | |
fix bgcolor detection
Diffstat (limited to 'js/record.concat.js')
| -rw-r--r-- | js/record.concat.js | 4 |
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(){ |
