Skip to content

Commit

Permalink
only need to recalc if styleProperties missing
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Nov 3, 2016
1 parent 5231d87 commit 5bfe279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/standard/x-styling.html
Expand Up @@ -53,7 +53,7 @@
*/
getComputedStyleValue: function(property) {
// refresh the style properties for this node
if (!nativeVariables) {
if (!nativeVariables && !this._styleProperties) {
this._computeStyleProperties();
}
return !nativeVariables && this._styleProperties &&
Expand Down

0 comments on commit 5bfe279

Please sign in to comment.