Custom share popup change width

(Admir Hodzic) #1

Is there a way to change width of popup window for custom sharing plugin

my coode looks like

import Sharing from 'discourse/lib/sharing';

export default {
  name: 'it-mjerenje',

  initialize() {
      id: 'utroseniSati',
      faIcon: 'fa-check',
      generateUrl(link, title) {
        return "" + encodeURIComponent(link) + "&title=" + encodeURIComponent(title);
      shouldOpenInPopup: true,
      popupHeight: 480,
      popupWidth: 1120

popupHeight does job, but popupWidth always the same.
Is there way to make popup window wider when calling custom share ?