From 76a86eacff072e1da3efcf27b37205ef0cdabe36 Mon Sep 17 00:00:00 2001 From: Bauke Date: Sat, 17 Jun 2023 15:02:04 +0200 Subject: [PATCH] Use tour.cancel instead of complete when the Exit button is clicked. --- source/content-scripts/setup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/content-scripts/setup.ts b/source/content-scripts/setup.ts index 4eba6cf..30027e4 100644 --- a/source/content-scripts/setup.ts +++ b/source/content-scripts/setup.ts @@ -78,7 +78,7 @@ function startTour( classes: "btn", text: "Exit", action() { - this.complete(); + this.cancel(); }, }, ],