diff src/twitter.coffee @ 31:8238d312e281

var checks
author Mathias Gebbe <mgebbe@intevation.de>
date Tue, 30 Sep 2014 07:30:54 +0200
parents 3e3fa35e3ce2
children
line wrap: on
line diff
--- a/src/twitter.coffee	Thu Aug 28 18:40:39 2014 +0200
+++ b/src/twitter.coffee	Tue Sep 30 07:30:54 2014 +0200
@@ -135,7 +135,7 @@
                   if text.length <= 140
                     status += text
                   else
-                    status += text.substr(0, 140 - (post.object.url.length + 2)) + ".." + post.object.url
+                    status += text.substr(0, 140 - (post.object.url.length + 2)) + " " + post.object.url
                   twit.verifyCredentials((data) ->
                     #console.log util.inspect(data)
                     return
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)