Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Search and Destroy #47

Merged
merged 2 commits into from
Nov 9, 2017
Merged

Conversation

adrian-enspired
Copy link
Contributor

Two relatively minor fixes, which took me ages to find.

  • search() needs to trim whitespace from option text before comparing. in practice, extraneous whitespace is easy to introduce, and causes a confusing lack of matches.
  • destroy() was trying to remove event listeners by calling util.off(), which does not exist. set a listener to remove the event listeners instead.

@Mobius1 Mobius1 merged commit bcb6c90 into Mobius1:master Nov 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants