FIX: Title was missing from sharing

This commit is contained in:
Robin Ward 2016-11-16 10:57:21 -05:00
parent a6b86036ca
commit 26f9a7ac50
1 changed files with 1 additions and 1 deletions

View File

@ -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 {