summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules_v3/tree/module.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules_v3/tree/module.php b/modules_v3/tree/module.php
index 0ff810b229..ba7ffa85cf 100644
--- a/modules_v3/tree/module.php
+++ b/modules_v3/tree/module.php
@@ -94,7 +94,7 @@ class tree_WT_Module extends WT_Module implements WT_Module_Tab {
public function getPreLoadContent() {
// a workaround to the lack of a proper method of class Module to insert css and scripts in <head> where needed
// the required loading order is : headers, theme, css
- return $this->js.'<script language="javascript" type="text/javascript">jQuery("head").prepend(\''.$this->headers.'\').append(\''.$this->css.'\');</script>';
+ return $this->js.$this->headers;
}
// Extend WT_Module