Skip to content

Commit

Permalink
fix: Fix plugin JS being removed from webkit when a new theme is sele…
Browse files Browse the repository at this point in the history
…cted.
  • Loading branch information
shdwmtr committed Dec 19, 2024
1 parent 4ce6b5d commit a29c7df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/core/hooks/web_load.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#include <unordered_set>
// #include <boxer/boxer.h>

unsigned long long g_hookedModuleId;

WebkitHandler WebkitHandler::get()
{
static WebkitHandler webkitHandler;
Expand Down
2 changes: 1 addition & 1 deletion src/core/hooks/web_load.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <mutex>
#include <regex>

static unsigned long long g_hookedModuleId;
extern unsigned long long g_hookedModuleId;

class WebkitHandler
{
Expand Down

0 comments on commit a29c7df

Please sign in to comment.