remove launch search funxn

This commit is contained in:
MoizAhmedd
2021-03-11 22:54:05 -05:00
parent ea8f729ae0
commit 8c153953d5

View File

@@ -4,7 +4,7 @@ function openSearchBar(e) {
//Open search bar on option+f
if (window.location.href.includes('watch') && e.code=="KeyF" && e.altKey) {
document.removeEventListener('click',function(e){
console.log('holy fuck');
console.log('removed listener');
})
alert('Open search bar');
// document.addEventListener('keydown',seekToTimeStamp);
@@ -70,8 +70,5 @@ document.addEventListener('keydown',openSearchBar);
document.addEventListener('click',createSearchBar);
function launchSearch(event) {
document.getElementById('searchBar___container').classList.add("activeSearch");
}