campaignzero/campaign-zero-widget

Widget cannot be used on page with addthis widget

bclunde opened this issue · 0 comments

Overview:

We use the 'addthis' widget for share buttons on our pages. Your init code finds this widget first, resulting in error - Uncaught ReferenceError: appWidget is not defined

Acceptance Criteria:

Page can load both the campaign-zero-widget and the addthis widget

Steps to Duplicate ( required for bug reports ):

Try to add a campaign-zero-widget to a page that is already using the addthis widget. The failing code is live on https://www.mobbunited.org/page/NYBailReform if you want to step through the debugger there.

System Info ( required for bug reports ):

Windows 10 Pro 17134.648 - Chrome Version 72.0.3626.121 (Official Build) (64-bit)

Relevant Documentation ( optional )

image

image