Merge pull request #117 from richardwestenra/tweetQuestion
Don't add a colon to tweet if it ends on a question mark.master
commit
4337bab741
|
@ -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;
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue