From 7e3e5ab626e427d7ecadb5ca77d4a487d291333f Mon Sep 17 00:00:00 2001 From: Eli Fenton Date: Sun, 29 Jan 2023 10:19:13 -0500 Subject: [PATCH] Fixed issue #42 - internal link not added in linkwiz tool --- plugin.info.txt | 2 +- script.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin.info.txt b/plugin.info.txt index 16e0f47..21feae6 100755 --- a/plugin.info.txt +++ b/plugin.info.txt @@ -1,7 +1,7 @@ base fastwiki author Eli Fenton email -date 2021-10-15 +date 2023-01-29 name Fastwiki Plugin desc Speed up DokuWiki with AJAX page loads, and inline previews and sectionedit. url https://www.dokuwiki.org/plugin:fastwiki diff --git a/script.js b/script.js index 833bbc3..ee748ae 100755 --- a/script.js +++ b/script.js @@ -216,7 +216,7 @@ var plugin_fastwiki = (function($) { pieces = pieces.add(target.children()); else pieces = pieces.add(target); - + } return pieces; } @@ -331,7 +331,7 @@ var plugin_fastwiki = (function($) { // Instead, calculate based on the button. dw_linkwiz.init($('[aria-controls="link__wiz"]')); // Now restore linkwiz's link to the editor. - dw_linkwiz.textArea = $('#wiki__text'); + dw_linkwiz.textArea = $('#wiki__text')[0]; }, 0); // reset change memory var on submit