r99588 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99587‎ | r99588 | r99589 >
Date:22:19, 11 October 2011
Author:tparscal
Status:ok
Tags:
Comment:
Made the popup not close when you click the mouse on it, and changed the cursor to default cursor instead of pointer
Modified paths:
  • /trunk/extensions/Contest/resources/contest.special.welcome.css (modified) (history)
  • /trunk/extensions/Contest/resources/jquery.contestChallenges.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Contest/resources/jquery.contestChallenges.js
@@ -54,6 +54,9 @@
5555 )
5656 .append(
5757 $( '<div class="mw-codechallenge-popup"><div>' )
 58+ .click( function() {
 59+ return false;
 60+ } )
5861 .append( '<div class="mw-codechallenge-popup-callout"></div>' )
5962 .append( challenge.text )
6063 .append(
Index: trunk/extensions/Contest/resources/contest.special.welcome.css
@@ -110,6 +110,7 @@
111111 -moz-box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.5);
112112 box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.5);
113113 background-color: white;
 114+ cursor: default;
114115 }
115116 .mw-codechallenge-popup-callout {
116117 position: absolute;

Status & tagging log