Skip to content

Commit 491df71

Browse files
committed
Fixed and tested issue with cell-saving on right click and with shortcut.
1 parent e99edcb commit 491df71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ function activateCodeSnippet(
184184
//if user just right-clicks cell(s) to save
185185
const curr = document.getElementsByClassName('jp-Cell jp-mod-selected');
186186
const resultArray = [];
187-
for (let i = 1; i < curr.length; i++) {
187+
for (let i = 0; i < curr.length; i++) {
188188
//loop through each cell
189189
const text = curr[i] as HTMLElement;
190190
const textContent = text.innerText;

0 commit comments

Comments
 (0)