Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperZombi committed Jan 10, 2023
1 parent 35ba5ef commit a11113c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion chrome/favorites.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ chrome.storage.sync.get({ export: true, export_animation: true }, results => {
popup.style.opacity = 1
}
popup.style.visibility = "visible"
function hide_popup_menu(e){
function hide_popup_menu(event){
let path = event.path || (event.composedPath && event.composedPath());
if (!path.includes(popup)){
if (results.export_animation){
Expand Down
2 changes: 1 addition & 1 deletion chrome/myscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ function script(chrome_i18n) {
}
}
}
function hide_download_menu(e){
function hide_download_menu(event){
let div = document.getElementById("downloadMenu")
let path = event.path || (event.composedPath && event.composedPath());
if (!path.includes(div)){
Expand Down
4 changes: 2 additions & 2 deletions github/hdrezka_helper_ipad.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ async function downloader_wrap(){
}
}
}
function hide_download_menu(e){
function hide_download_menu(event){
let div = document.getElementById("downloadMenu")
let path = event.path || (event.composedPath && event.composedPath());
if (!path.includes(div)){
Expand Down Expand Up @@ -907,7 +907,7 @@ function exportFavorites(){
popup.style.opacity = 1
}
popup.style.visibility = "visible"
function hide_popup_menu(e){
function hide_popup_menu(event){
let path = event.path || (event.composedPath && event.composedPath());
if (!path.includes(popup)){
if (db_get('export_animation', true)){
Expand Down
4 changes: 2 additions & 2 deletions hdrezka_helper.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ async function downloader(){
}
}
}
function hide_download_menu(e){
function hide_download_menu(event){
let div = document.getElementById("downloadMenu")
let path = event.path || (event.composedPath && event.composedPath());
if (!path.includes(div)){
Expand Down Expand Up @@ -885,7 +885,7 @@ function exportFavorites(){
popup.style.opacity = 1
}
popup.style.visibility = "visible"
function hide_popup_menu(e){
function hide_popup_menu(event){
let path = event.path || (event.composedPath && event.composedPath());
if (!path.includes(popup)){
if (db_get('export_animation', true)){
Expand Down

0 comments on commit a11113c

Please sign in to comment.