Skip to content

Commit e534194

Browse files
committed
Only call changeBy for "by" radio buttons, fixes problem with IE
- Legacy-Id: 3932
1 parent 793bb14 commit e534194

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

static/js/doc-search.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
$(function () {
22
var form = jQuery("#search_form");
33

4-
form.find(".search_field").click(function () {
5-
changeBy();
6-
});
4+
form.find(".search_field input[name=by]").parents("label").click(changeBy);
75

86
form.find(".search_field").find("input,select")
97
.change(toggleSubmit).click(toggleSubmit).keyup(toggleSubmit);

0 commit comments

Comments
 (0)