mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
Update UIContextMenu.js
This commit is contained in:
parent
4ef6fd6148
commit
f185c02f4c
@ -141,7 +141,7 @@ function UIContextMenu(options){
|
|||||||
if ( options?.delay === false) {
|
if ( options?.delay === false) {
|
||||||
$(contextMenu).show(0);
|
$(contextMenu).show(0);
|
||||||
} else if(options?.delay === true || options?.delay === 1 || options?.delay === undefined) {
|
} else if(options?.delay === true || options?.delay === 1 || options?.delay === undefined) {
|
||||||
$(contextMenu).fadeIn(80).show(0);
|
$(contextMenu).fadeIn(50).show(0);
|
||||||
} else {
|
} else {
|
||||||
$(contextMenu).fadeIn(options?.delay).show(0);
|
$(contextMenu).fadeIn(options?.delay).show(0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user