While investigating the twitter popup issue in Firefox ESR, we noticed that the js file wasn't commited from the provided patch in https://www.drupal.org/node/2845000. See http://cgit.drupalcode.org/shariff/commit/?id=8f1504316fc7f8fbd525282518...

Also, there is the dependency to jquery.once missing, which is responsible for our error in Firefox ESR.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tjwelde created an issue. See original summary.

tjwelde’s picture

This patch fixes both issues.

tjwelde’s picture

I also think, the shariff_library_info_alter hook can be removed, since it has no purpose here anymore.

mtodor’s picture

Status: Needs review » Reviewed & tested by the community

I have tested this - and it works.

Hook "shariff_library_info_alter" is still needed, because of different deployment directories in case of composer workflow.

Berdir’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
1.44 KB
818 bytes

This is missing the dependency on core/drupal because I get this as anonymous user when nothing else loads that on the page:

Uncaught ReferenceError: Drupal is not defined

Berdir’s picture

And now with 100% less stupid typos ;)

  • criz committed b64937a on 8.x-1.x authored by Berdir
    Issue #2881126 by Berdir, tjwelde: two twitter popups: missing js...
criz’s picture

Status: Needs review » Fixed

Thanks, a pity that this js files has been overseen in committing #2845000: Two twitter pop-up windows appear on page with twitter integration.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.