Textstyle plugin: Removing extra space
authorDarren <darren@darrenwhitlen.com>
Sat, 6 Sep 2014 20:09:53 +0000 (21:09 +0100)
committerDarren <darren@darrenwhitlen.com>
Sat, 6 Sep 2014 20:09:53 +0000 (21:09 +0100)
client/assets/plugins/textstyle.html

index 1097b522143fe32a30c93d2fc758dda06ec6caa5..4fc54ca51e3f0e4e067dd4ea037ea0e7460e981e 100644 (file)
 
             // Add the styles to the emssage
             if (data.params[1]) {
-                data.params[1] = style_codes + ' ' + data.params[1];
+                data.params[1] = style_codes + data.params[1];
             }
         });