Skip to content

Commit

Permalink
Remove undefined pseudo variable
Browse files Browse the repository at this point in the history
  • Loading branch information
SNDST00M: M.U.N.I.N authored and IDisposable committed Aug 11, 2021
1 parent 134f499 commit d11bd5a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/dom-to-image-more.js
Original file line number Diff line number Diff line change
Expand Up @@ -847,10 +847,6 @@
var computedStyles = window.getComputedStyle(element);
var inlineStyles = element.style;

if (pseudo) {
return computedStyles;
}

for (var i = 0; i < computedStyles.length; i++) {
var key = computedStyles[i];
var value = computedStyles.getPropertyValue(key);
Expand Down

0 comments on commit d11bd5a

Please sign in to comment.