Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Jan 1, 2017
1 parent 8f9f3b7 commit d82cc61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/clipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,11 @@ function matchAttributor(node, delta) {
}
if (ATTRIBUTE_ATTRIBUTORS[name] != null) {
attr = ATTRIBUTE_ATTRIBUTORS[name];
formats[attr.attrName] = attr.value(node);
formats[attr.attrName] = attr.value(node) || undefined;
}
if (STYLE_ATTRIBUTORS[name] != null) {
attr = STYLE_ATTRIBUTORS[name];
formats[attr.attrName] = attr.value(node);
formats[attr.attrName] = attr.value(node) || undefined;
}
});
if (Object.keys(formats).length > 0) {
Expand Down

0 comments on commit d82cc61

Please sign in to comment.