diff options
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/it_html.class b/it_html.class index 1852733..6cd255f 100644 --- a/it_html.class +++ b/it_html.class @@ -569,7 +569,9 @@ function js($args) $args[] = "\n//--><!]]>"; } - array_unshift($args, array('type' => 'text/javascript')); + if ($this->p['htmltype'] != "html5") + array_unshift($args, array('type' => 'text/javascript')); + return $this->_tag('script', $args); } |