Bug 650950 Simplify DOMMouseScroll event handler r=dao

This commit is contained in:
Neil Rashbrook 2011-04-19 23:12:50 +01:00
Родитель 0e53288b95
Коммит 2fc576d572
1 изменённых файлов: 2 добавлений и 5 удалений

Просмотреть файл

@ -523,11 +523,8 @@
<handler event="DOMMouseScroll"
phase="capturing"
#ifdef XP_MACOSX
action="if (event.metaKey) this.selectEngine(event, (event.detail > 0));"/>
#else
action="if (event.ctrlKey) this.selectEngine(event, (event.detail > 0));"/>
#endif
modifiers="accel"
action="this.selectEngine(event, (event.detail > 0));"/>
</handlers>
</binding>