From b7f9d5f4ebe6df47d345a61127a6aa132ee718fe Mon Sep 17 00:00:00 2001 From: stickz Date: Mon, 1 May 2023 16:32:28 -0400 Subject: [PATCH] Fix file paths for injectScript --- plugins/filedrop/init.js | 2 +- plugins/history/init.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/filedrop/init.js b/plugins/filedrop/init.js index 2ffc680cc..9aa21acb0 100644 --- a/plugins/filedrop/init.js +++ b/plugins/filedrop/init.js @@ -5,7 +5,7 @@ else plugin.onLangLoaded = function() { - injectScript(plugin.path+"/jquery.filedrop.js",function() + injectScript(plugin.path+"jquery.filedrop.js",function() { $("#maincont").filedrop( { diff --git a/plugins/history/init.js b/plugins/history/init.js index 2eb5d0b73..8f7ad7bb4 100644 --- a/plugins/history/init.js +++ b/plugins/history/init.js @@ -460,7 +460,7 @@ if(plugin.canChangeMenu()) plugin.onLangLoaded = function() { - injectScript(plugin.path+"/desktop-notify.js",function() + injectScript(plugin.path+"desktop-notify.js",function() { plugin.attachPageToOptions( $("
").attr("id","st_history").html( "
" +