Skip to content

Commit 3e262b9

Browse files
committed
Fix code style
1 parent de977d9 commit 3e262b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/functions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function collectStyles (element, params) {
1919
// Loop over computed styles
2020
const styles = win.getComputedStyle(element, '')
2121

22-
for (let key = 0; key < styles.length; key++) {
22+
for (let key = 0; key < styles.length; key++) {
2323
// Check if style should be processed
2424
if (params.targetStyles.indexOf('*') !== -1 || params.targetStyle.indexOf(styles[key]) !== -1 || targetStylesMatch(params.targetStyles, styles[key])) {
2525
if (styles.getPropertyValue(styles[key])) elementStyle += styles[key] + ':' + styles.getPropertyValue(styles[key]) + ';'

0 commit comments

Comments
 (0)