mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 303541 : Text link widget doesn't getPreventDefault, r+a=mconnor
This commit is contained in:
parent
1ef1277ed4
commit
ffe391ad25
@ -295,7 +295,7 @@
|
||||
<handlers>
|
||||
<handler event="click">
|
||||
<![CDATA[
|
||||
if (this.disabled)
|
||||
if (this.disabled || event.getPreventDefault())
|
||||
return;
|
||||
var href = this.getAttribute('href');
|
||||
if (href)
|
||||
|
Loading…
Reference in New Issue
Block a user