Skip to content

Commit

Permalink
feature(StyleFactory): get computed opacity for target styles [resolves
Browse files Browse the repository at this point in the history
  • Loading branch information
jlmakes committed Dec 1, 2015
1 parent 0dd5f76 commit 5f08a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ScrollReveal.js
Expand Up @@ -630,7 +630,7 @@ window.ScrollReveal = (function( window ){
}

initial += '; opacity: ' + config.opacity + '; ';
target += '; opacity: 1; ';
target += '; opacity: ' + window.getComputedStyle( elem.domEl ).opacity; + '; ';
}
};

Expand Down

0 comments on commit 5f08a09

Please sign in to comment.