mirror of
https://github.com/thomiceli/opengist.git
synced 2025-06-22 01:37:58 +02:00
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