staceymoore/convivial — pull request #2 by caranicas (2014-03-28 23:58:52+00:00)
Title: Hashtag params check

Added a check for hashtags outside of the window.open function to fix extra spaces that were being appended when no hashtags were in the data.

If there are no hashtags present but you still have "hashtags=" in the url param list twitter appends an extra space between the end of the copy and the "via" tag, this caused overflow for carefully crafted tweet text.

We found this because our hashtags are baked into the text itself, and not being passed in through the data object.