Index: branches/wmf/1.18wmf1/extensions/MobileFrontend/javascripts/opensearch.js |
— | — | @@ -18,17 +18,17 @@ |
19 | 19 | results.style.display = 'none'; |
20 | 20 | } |
21 | 21 | |
22 | | -document.body.onmousedown = function() { |
| 22 | +document.body.onmousedown = function( event ) { |
23 | 23 | whichElement(event); |
24 | 24 | } |
25 | | -results.onmousedown = function() { |
| 25 | +results.onmousedown = function( event ) { |
26 | 26 | whichElement(event); |
27 | 27 | } |
28 | 28 | |
29 | | -document.body.ontouchstart = function() { |
| 29 | +document.body.ontouchstart = function( event ) { |
30 | 30 | whichElement(event); |
31 | 31 | } |
32 | | -results.ontouchstart = function() { |
| 32 | +results.ontouchstart = function( event ) { |
33 | 33 | whichElement(event); |
34 | 34 | } |
35 | 35 | |