r113780 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113779‎ | r113780 | r113781 >
Date:22:48, 13 March 2012
Author:wikinaut
Status:new
Tags:
Comment:
css change . highlighting only the smaller label element looks better and not so alerting
Modified paths:
  • /trunk/extensions/AJAXPoll/resources/ajaxpoll.js (modified) (history)

Diff [purge]

Index: trunk/extensions/AJAXPoll/resources/ajaxpoll.js
@@ -18,23 +18,23 @@
1919 );
2020
2121
22 -$(".ajaxpoll-answer-name:not(.ajaxpoll-answer-name-revoke)").live("mouseover",
 22+$(".ajaxpoll-answer-name:not(.ajaxpoll-answer-name-revoke) label").live("mouseover",
2323 function(){
2424 $(this).addClass("ajaxpoll-hover-vote");
2525 }
2626 );
27 -$(".ajaxpoll-answer-name:not(.ajaxpoll-answer-name-revoke)").live("mouseout",
 27+$(".ajaxpoll-answer-name:not(.ajaxpoll-answer-name-revoke) label").live("mouseout",
2828 function(){
2929 $(this).removeClass("ajaxpoll-hover-vote");
3030 }
3131 );
3232
33 -$(".ajaxpoll-answer-name-revoke").live("mouseover",
 33+$(".ajaxpoll-answer-name-revoke label").live("mouseover",
3434 function(){
3535 $(this).addClass("ajaxpoll-hover-revoke");
3636 }
3737 );
38 -$(".ajaxpoll-answer-name-revoke").live("mouseout",
 38+$(".ajaxpoll-answer-name-revoke label").live("mouseout",
3939 function(){
4040 $(this).removeClass("ajaxpoll-hover-revoke");
4141 }

Status & tagging log