mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:54:16 +08:00
FIX: Title was missing from sharing
This commit is contained in:
parent
a6b86036ca
commit
26f9a7ac50
|
@ -145,7 +145,7 @@ export default Ember.Component.extend({
|
|||
},
|
||||
|
||||
share(source) {
|
||||
var url = source.generateUrl(this.get('link'), this.get('title'));
|
||||
const url = source.generateUrl(this.get('link'), this.get('topic.title'));
|
||||
if (source.shouldOpenInPopup) {
|
||||
window.open(url, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,width=600,height=' + (source.popupHeight || 315));
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user