mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 06:09:08 +00:00
Browser+LibWeb: Open link in new tab on Ctrl+Click :^)
This commit is contained in:
parent
d5d8e87d56
commit
5c2bdbf27f
Notes:
sideshowbarker
2024-07-19 07:20:33 +09:00
Author: https://github.com/awesomekling
Commit: 5c2bdbf27f
4 changed files with 5 additions and 5 deletions
|
@ -238,7 +238,7 @@ void HtmlView::mousedown_event(GUI::MouseEvent& event)
|
|||
run_javascript_url(link->href());
|
||||
} else {
|
||||
if (on_link_click)
|
||||
on_link_click(link->href(), link->target());
|
||||
on_link_click(link->href(), link->target(), event.modifiers());
|
||||
}
|
||||
} else {
|
||||
if (event.button() == GUI::MouseButton::Left) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue