I think there are a few unnecessary codes that could be trimmed and still make it functional. Patch attached. Also, would be nice if the some of the $data_options could be saved as an array instead of a string so it's easier to parse e.g. nodeType.

CommentFileSizeAuthor
trim-sharethis-node-view.patch1.62 KBdsdeiz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Gaofengzzz’s picture

Status: Needs review » Fixed

The patch has been tested and committed in f01f44f, Thank you @dsdeiz very much for your contribution.

Status: Fixed » Closed (fixed)

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