We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94e58dc commit a4310e9Copy full SHA for a4310e9
src/js/vendor/search.bundle.js
@@ -109,6 +109,13 @@
109
</li>`
110
})
111
.join('')
112
+
113
+ container.querySelectorAll('ul a').forEach((a) => {
114
+ a.addEventListener('click', () => {
115
+ MicroModal.close('modal-1')
116
+ })
117
118
119
if (!lastRenderArgs.isLastPage) {
120
const more = document.createElement('div')
121
const link = document.createElement('a')
@@ -149,6 +156,7 @@
149
156
const hits = document.querySelectorAll('#hits>ul>li>a')
150
157
if (hits[index]) {
151
158
hits[index].click()
159
152
160
}
153
161
154
162
0 commit comments