This module now uses hook_init to add the javascript, but this means it's added to all pages, which is a bit too much. This module could use hook_form_alter and #attach to do it's magic as well.

CommentFileSizeAuthor
#1 i1941592-1.patch3.84 KBattiks

Comments

attiks’s picture

Status: Active » Needs review
StatusFileSize
new3.84 KB
greggles’s picture

Title: Get rid of hook_init » Get rid of hook_init to improve performance
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.