Add Gist code search (#194)
This commit is contained in:
@@ -167,4 +167,13 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
const searchinput = document.getElementById('search') as HTMLInputElement;
|
||||
searchinput.addEventListener('focusin', () => {
|
||||
document.getElementById('search-help').classList.remove('hidden');
|
||||
})
|
||||
|
||||
searchinput.addEventListener('focusout', (e) => {
|
||||
document.getElementById('search-help').classList.add('hidden');
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user