Merge pull request #117 from richardwestenra/tweetQuestion

Don't add a colon to tweet if it ends on a question mark.
master
Artem Sapegin 2015-02-16 20:20:48 +03:00
commit 4337bab741
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@
popupHeight: 450,
click: function() {
// Add colon to improve readability
if (!/[\.:\-–—]\s*$/.test(this.options.title)) this.options.title += ':';
if (!/[\.\?:\-–—]\s*$/.test(this.options.title)) this.options.title += ':';
return true;
}
},