Skip to content

Commit

Permalink
Update taskpane.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
tinohager committed Mar 7, 2024
1 parent a60a1a1 commit 3dca24c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/word-plugin/src/taskpane/taskpane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function run1() {

// load text
//paragraphs.load("$all");
paragraphs.load(["text"]);
paragraphs.load(["text", "items"]);
await context.sync();

document.getElementById("progressbar").style.width = "10%";
Expand Down Expand Up @@ -135,7 +135,7 @@ export async function run2() {

// load text
//paragraphs.load("$all");
paragraphs.load("text");
paragraphs.load(["text", "items"]);
await context.sync();

document.getElementById("progressbar").style.width = "10%";
Expand Down

0 comments on commit 3dca24c

Please sign in to comment.