mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 08:15:00 +00:00
BUGFIX: can't ctrl+click post datestamps
This commit is contained in:
parent
86b4f53777
commit
3181424d8e
@ -51,6 +51,9 @@ export default Discourse.View.extend({
|
||||
});
|
||||
|
||||
$html.on('click.discoure-share-link', '[data-share-url]', function(e) {
|
||||
// if they want to open in a new tab, let it so
|
||||
if (e.shiftKey || e.metaKey || e.ctrlKey || e.which === 2) { return true; }
|
||||
|
||||
e.preventDefault();
|
||||
var $currentTarget = $(e.currentTarget),
|
||||
$currentTargetOffset = $currentTarget.offset(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user