Honour preventDefault() on modified link clicks b=319554 r+sr=jag
git-svn-id: svn://10.0.0.236/trunk@202179 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
0fdd89124a
commit
92f3681d90
@ -170,7 +170,7 @@
|
||||
// should always return true for click to go through
|
||||
function contentAreaClick(event)
|
||||
{
|
||||
if (!event.isTrusted) {
|
||||
if (!event.isTrusted || event.getPreventDefault()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -193,7 +193,6 @@
|
||||
}
|
||||
|
||||
if (pref && !isKeyPress && event.button == 1 &&
|
||||
!event.getPreventDefault() &&
|
||||
pref.getBoolPref("middlemouse.contentLoadURL")) {
|
||||
if (middleMousePaste(event)) {
|
||||
event.stopPropagation();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user