We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 139851b commit 643d712Copy full SHA for 643d712
rule.coffee
@@ -241,8 +241,8 @@ class Rule
241
child = element.firstElementChild
242
while (child)
243
# If no class name you can skip setting up the dictionary
244
- if child.className isnt ''
245
- for elementKey in child.className.split(' ')
+ if child.getAttribute('class') isnt ''
+ for elementKey in child.getAttribute('class').split(' ')
246
elementKey = '.' + elementKey
247
# Check existing dictionary array
248
elementArray = hash[elementKey] ? hash[elementKey] = []
0 commit comments