Commit e408864f by Thimo Kraemer

Added data attribute to nodes with applied KSS rules

parent 6086aaf4
......@@ -611,6 +611,7 @@ kss.RuleSheet.prototype = {
kss.each(nodes, function(node) {
if (!node._kssRules) {
node._kssRules = {};
node.setAttribute('data-has-kss', 'true');
}
if (!node._kssRules[event]) {
node._kssRules[event] = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment