Skip to content

Commit

Permalink
fix(core/issues-notes): only spans are inline
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Oct 19, 2017
1 parent de3bb5f commit ca65a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/issues-notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function run(conf, doc, cb) {
isWarning = $inno.hasClass("warning"),
isEdNote = $inno.hasClass("ednote"),
isFeatureAtRisk = $inno.hasClass("atrisk"),
isInline = $inno.css("display") !== "block",
isInline = $inno[0].localName === "span",
dataNum = $inno.attr("data-number"),
report = {
inline: isInline,
Expand Down

0 comments on commit ca65a1b

Please sign in to comment.