Don't add a colon to tweet if it ends on a question mark.

master
Richard Westenra 2015-02-16 16:52:25 +00:00
parent 36cbc77190
commit ba597133c5
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@
popupHeight: 450, popupHeight: 450,
click: function() { click: function() {
// Add colon to improve readability // 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; return true;
} }
}, },