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:
@ -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);
|
||||
|
@ -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';
|
||||
}
|
||||
|
Reference in New Issue
Block a user