Skip to content

Commit bf0dbc2

Browse files
committed
chore(ci): upstream update
1 parent 73e5ba9 commit bf0dbc2

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="apple-mobile-web-app-capable" content="yes" />
6-
<meta name="generator" content="slidesdown 1.1.0" />
6+
<meta name="generator" content="slidesdown 1.2.0" />
77
<link href="https://slidesdown.github.io" rel="canonical" />
88
<meta content="Slidesdown" property="og:title" />
99
<meta content="Presentations at the speed of Markdown" name="description" />

plugin/slidesdown.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,16 @@ function addAttributes(
158158
}
159159
}
160160
if (element.nodeType == Node.COMMENT_NODE) {
161-
addAttributeInElement(element, section, separatorSectionAttributes);
161+
if (
162+
addAttributeInElement(
163+
element,
164+
previousElement,
165+
separatorElementAttributes,
166+
) ===
167+
false
168+
) {
169+
addAttributeInElement(element, section, separatorSectionAttributes);
170+
}
162171
}
163172
}
164173

0 commit comments

Comments
 (0)