Skip to content

lack of semi-colons breaks bootstrap js files when tethering #401

Description

@cam-intel

When using bootstrap across a tethered connection at least one js file stops working.

The reason is that many providers (o2, t-mobile, vodafone) across the world embed another js script into web pages. The script is called bmi.js.

This file helps compress many separate js requests into the main page.

The lack of semi-colons in the dropdown js file causes this compression to break, and the dropdown menus stop working on any device if the device is tethered.

The fix is simple: just use semi-colons. The line that breaks is

    clearMenus()
    !isActive &&  ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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