Skip to content

Widget cannot be used on page with addthis widget #17

@bclunde

Description

@bclunde

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions