summaryrefslogtreecommitdiff
path: root/modules/comment/helpers/comment_block.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/helpers/comment_block.php')
-rw-r--r--modules/comment/helpers/comment_block.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/comment/helpers/comment_block.php b/modules/comment/helpers/comment_block.php
index 58a1a416..ee05a383 100644
--- a/modules/comment/helpers/comment_block.php
+++ b/modules/comment/helpers/comment_block.php
@@ -19,6 +19,11 @@
*/
class comment_block_Core {
+ public static function head($theme) {
+ $url = url::file("modules/comment/js/comment.js");
+ return "<script src=\"$url\" type=\"text/javascript\"></script>\n";
+ }
+
public static function photo_bottom($theme) {
return comment::block($theme, true);
}