Skip to content

Fixes #3063 - Move search bar handling into shared navbar.js#3064

Merged
karlcow merged 3 commits intomasterfrom
issues/3063/1
Oct 29, 2019
Merged

Fixes #3063 - Move search bar handling into shared navbar.js#3064
karlcow merged 3 commits intomasterfrom
issues/3063/1

Conversation

@miketaylr
Copy link
Copy Markdown
Member

And add some missing tests.

Mike Taylor added 3 commits October 28, 2019 16:11
The only thing it is doing at this point is handling the searchbar.

There's some old code in there adding a class to indicate touch
vs no-touch, but it's dead code. For the history, it was added here:

51c16a4
var searchBarClose = $(".js-SearchBarClose");

this.init = function() {
var htmlClass =
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dug into the history, and this is unused (has been for a few years).

@miketaylr miketaylr requested a review from karlcow October 29, 2019 15:55
@miketaylr
Copy link
Copy Markdown
Member Author

r? @karlcow

No new code here, just moving things around. But adding some new tests.

Copy link
Copy Markdown
Member

@karlcow karlcow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The movers! 🚚
thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants