1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-26 20:17:12 +02:00

Update POCO library.

This commit is contained in:
Sandu Liviu Catalin
2023-03-23 20:19:11 +02:00
parent 8d15f4b6e9
commit 233fc103f9
2521 changed files with 257092 additions and 72789 deletions

View File

@ -46,13 +46,13 @@ var CollapsibleLists =
}
}
var id = getParameterByName('expand');
if (id){
var node = document.getElementById(id);
if (node){
expand(node);
}
}
@ -101,9 +101,9 @@ var CollapsibleLists =
}
};
/* Expands a node.
*
*
* node - the node containing the unordered list elements
*/
function expand(node){
@ -186,13 +186,13 @@ var CollapsibleLists =
node.className += ' collapsibleList' + (open ? 'Open' : 'Closed');
}
}
/* Get a URL query string parameter.
*
* name - the parameter name
*/
function getParameterByName(name){
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
results = regex.exec(location.search);

View File

@ -118,7 +118,7 @@
}
function setMargin(){
//If called via V1 script, convert bodyMargin from int to str
//If called via V1 script, convert bodyMargin from int to str
if (undefined === bodyMarginStr){
bodyMarginStr = bodyMargin+'px';
}