mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 03:25:44 +02:00
change modals so they close on mouse down outside the box
This commit is contained in:
@@ -57,7 +57,7 @@ export function createPopup<T>(
|
||||
display: "flex",
|
||||
id: id,
|
||||
backgroundColor: backgroundColor,
|
||||
clickListener: onClick,
|
||||
mouseDown: onClick,
|
||||
});
|
||||
|
||||
gameContainer.appendChild(container);
|
||||
|
||||
Reference in New Issue
Block a user