mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc/Cleanup
* moving commonly used strings to defines * moving commonly reused/similar page generation functions to the parent * generally using consistent return types, more type hints and less strings * prevent browser context menu when right clicking on UI elements with their own context menus * fixed menu path for icons
This commit is contained in:
@@ -17142,6 +17142,8 @@ var Menu = new function()
|
||||
$menuItems.each(function () { $innerDiv.append(this) });
|
||||
$outerDiv.append($innerDiv);
|
||||
|
||||
$outerDiv.contextmenu($WH.rf); // aowow custom: prevent browser context menu when right clicking to get our context menu as it placed under the mouse cursor
|
||||
|
||||
return $outerDiv;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user