This commit is contained in:
2023-05-15 11:42:23 +02:00
parent 52c1620552
commit 8af82e3558
5 changed files with 135 additions and 46 deletions

View File

@@ -1,3 +1,10 @@
/**
* This function is executed after the page is loaded.
*
* @function
* @name init
* @kind function
*/
function init() {
// Make sure that only plain text is pasted
configurePastingInElement("xmlArea");
@@ -21,6 +28,15 @@ function init() {
})
}
/**
* The `processTooltip()` function is responsible for updating the display of the tooltip based on the selected version of the processor.
* It shows or hides different sections of the tooltip based on the selected version.
* It also handles the click event on the form and updates the tooltip accordingly.
*
* @function
* @name processTooltip
* @kind function
*/
function processTooltip() {
if (getProcessor() == "xalan") {