summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/startup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/startup.cpp b/src/startup.cpp
index ed42358..f2ed5ce 100644
--- a/src/startup.cpp
+++ b/src/startup.cpp
@@ -46,8 +46,8 @@ std::optional<Glib::ustring> GetJavascriptFileFromAppPage(const Glib::ustring &c
start_position += str.size();
}
- if (matches.size() >= 9) {
- return matches[matches.size() - 9];
+ if (matches.size() >= 8) {
+ return matches[matches.size() - 8];
}
return {};