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) {
|
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) {
|
if (source.shouldOpenInPopup) {
|
||||||
window.open(url, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,width=600,height=' + (source.popupHeight || 315));
|
window.open(url, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,width=600,height=' + (source.popupHeight || 315));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue