so in IE8 this code also does not work - alert is not appearing when clickin with left button
On 7 ноя, 00:06, buda <[email protected]> wrote: > but I started this because of in Mozilla dblclick fires on right > button dblclick but I dont want to execute code if not > Event.isLeftClick > > document.on('dblclick', function (e) { > if (!e.isLeftClick()) { return; } > alert('Hi'); > > }); > > in Mozilla this code doesnt work - I do dblclick with right button and > alert is appearing - so I started debugging in IE :) > > On 6 ноя, 23:15, buda <[email protected]> wrote: > > > > > > > > > in dblckick observer i try to detect which button was clicked > > in debugger I can see that event.button = 0 but prototype steps in "if > > (IE_LEGACY_EVENT_SYSTEM)" branch > > > is this a bug? -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
