Skip to content

Commit c0f6cab

Browse files
committed
Fix nodejs build error.
1 parent c7e62a8 commit c0f6cab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ function activateCodeSnippet(
167167
//if user just right-clicks cell(s) to save
168168
const curr = document.getElementsByClassName('jp-Cell jp-mod-selected');
169169
const resultArray = [];
170+
// changed i = 1 to i = 0.
170171
for (let i = 0; i < curr.length; i++) {
171172
//loop through each cell
172173
const text = curr[i] as HTMLElement;

0 commit comments

Comments
 (0)