🐛 Fixed incorrect fix of actually correct logical operator
This commit is contained in:
parent
73c0872e4f
commit
159a06a59d
|
@ -540,7 +540,7 @@ function main_menu:upload_catbox()
|
||||||
"whereis", "wl-copy"
|
"whereis", "wl-copy"
|
||||||
}).stdout, "/")
|
}).stdout, "/")
|
||||||
|
|
||||||
if cb_x11 == nil or cb_wayland == nil then
|
if cb_x11 == nil and cb_wayland == nil then
|
||||||
notify("Failed to copy URL to clipboard, trying to open in browser instead.\n(Make sure xclip or wl-clipboard is installed)", "warn", 6)
|
notify("Failed to copy URL to clipboard, trying to open in browser instead.\n(Make sure xclip or wl-clipboard is installed)", "warn", 6)
|
||||||
mp.commandv('run', open_utility, r.stdout)
|
mp.commandv('run', open_utility, r.stdout)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue