Skip to content

Commit

Permalink
Update jquery.adaptive-backgrounds.js
Browse files Browse the repository at this point in the history
  • Loading branch information
anuprajg authored Jun 25, 2017
1 parent 4a76a95 commit 0d381db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/jquery.adaptive-backgrounds.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
else {
$parent = $this.parent();
}
$parent = $parent.parent.parent.parent()
if($.isNumeric(opts.transparent) && opts.transparent != null && opts.transparent >= 0.01 && opts.transparent <= 0.99) {
var dominantColor = data.color;
var rgbToRgba = dominantColor.replace("rgb", "rgba");
Expand Down

0 comments on commit 0d381db

Please sign in to comment.