Commit 28135b7
committed
Remove redundant enableSearchInput function
enableSearchInput was called from two places:
- setupSearchLoader
- addSearchOptions, which is itself called from setupSearchLoader only
This commit can safely get rid of the addSearchOptions calls entirely,
and since the setupSearchLoader call is immediately preceded by other
method calls on search_input, there's no need to check if it's set.1 parent 8ccc89b commit 28135b7
1 file changed
+2
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2208 | 2208 | | |
2209 | 2209 | | |
2210 | 2210 | | |
2211 | | - | |
| 2211 | + | |
2212 | 2212 | | |
2213 | 2213 | | |
2214 | 2214 | | |
| |||
2851 | 2851 | | |
2852 | 2852 | | |
2853 | 2853 | | |
2854 | | - | |
2855 | | - | |
2856 | | - | |
2857 | | - | |
2858 | | - | |
2859 | | - | |
2860 | 2854 | | |
2861 | 2855 | | |
2862 | 2856 | | |
2863 | 2857 | | |
2864 | | - | |
2865 | 2858 | | |
2866 | 2859 | | |
2867 | 2860 | | |
| |||
2880 | 2873 | | |
2881 | 2874 | | |
2882 | 2875 | | |
2883 | | - | |
2884 | 2876 | | |
2885 | 2877 | | |
2886 | 2878 | | |
| |||
2972 | 2964 | | |
2973 | 2965 | | |
2974 | 2966 | | |
2975 | | - | |
| 2967 | + | |
2976 | 2968 | | |
2977 | 2969 | | |
2978 | 2970 | | |
| |||
0 commit comments