MediaWiki:Imagemap-Hightlight.js: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
KMA (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
KMA (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 49: | Zeile 49: | ||
var $this = $(this), | var $this = $(this), | ||
context = $this.data('context'), | context = $this.data('context'), | ||
activate = e.type == ' | $.extend(context, areaHighLighting); | ||
activate = e.type == 'mouseenter'; | |||
li = $this.prop('tagName') == 'LI'; | li = $this.prop('tagName') == 'LI'; | ||
if (li && activate) { // in this case, we need to test visibility vis a vis scrolling | if (li && activate) { // in this case, we need to test visibility vis a vis scrolling | ||