Problem/Motivation

The search flyout library is a theme dependency - so is present on all pages. If for some circumstance we do not have the search block on a page - this will cause JS errors.

Steps to reproduce

Hide the search block

Proposed resolution

As this is a project for legacy projects only I don't want to spend time changing how the libraries are loaded since this likely doesn't even impact anybody else - simplest just to fix so that JS can exit early if the element is not present.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ericgsmith created an issue. See original summary.

ericgsmith’s picture

Issue summary: View changes

  • ericgsmith committed 929a62a5 on 1.0.x
    Issue #3494120: Ensure that the search flyover element exists
    
ericgsmith’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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