Right now, the ShareThis code is presented on every page because it's added in hook_init(). It would be better if the ShareThis code was only presented when it's actually used. This patch adds a sharethis_add_js() function, which is called whenever the ShareThis button is shown. It also checked to make it that it's not adding it more then once....
| Comment | File | Size | Author |
|---|---|---|---|
| sharethis_add_js.patch | 1.92 KB | robloach |
Comments
Comment #1
robloachhttp://drupal.org/cvs?commit=159316