aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/script.js
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2011-07-08 13:12:06 +0200
committerAndreas Gohr <andi@splitbrain.org>2011-07-08 13:12:06 +0200
commitff9f537503912e41605048e604fb938256468001 (patch)
tree0474ec76b8a8720b90a85945a23c1a26ae832bd9 /lib/scripts/script.js
parent32cb905a0339607a7acfef6488bec0015bae6b8b (diff)
downloaddokuwiki-ff9f537503912e41605048e604fb938256468001.tar.gz
dokuwiki-ff9f537503912e41605048e604fb938256468001.zip
deprecated prependChild()
Diffstat (limited to 'lib/scripts/script.js')
-rw-r--r--lib/scripts/script.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/scripts/script.js b/lib/scripts/script.js
index e3216177c..b44d95d6f 100644
--- a/lib/scripts/script.js
+++ b/lib/scripts/script.js
@@ -147,19 +147,6 @@ function escapeQuotes(text) {
}
/**
- * Adds a node as the first childenode to the given parent
- *
- * @see appendChild()
- */
-function prependChild(parent,element) {
- if(!parent.firstChild){
- parent.appendChild(element);
- }else{
- parent.insertBefore(element,parent.firstChild);
- }
-}
-
-/**
* Prints a animated gif to show the search is performed
*
* Because we need to modify the DOM here before the document is loaded