# HG changeset patch # User Atul Varma # Date 1238473775 25200 # Node ID 5b049b310795296e2a8474117666d72359ce78b3 # Parent 5a5d167e54ced107bc9fe3db49a66418cf7bc90c Made hint button hit area smaller. diff -r 5a5d167e54ce -r 5b049b310795 open-web-challenges.js --- a/open-web-challenges.js Mon Mar 30 17:10:40 2009 -0700 +++ b/open-web-challenges.js Mon Mar 30 21:29:35 2009 -0700 @@ -1,6 +1,7 @@ var OWC = { _makeHintButton: function makeHintButton(hints) { - var hintButton = $('
'); + var hintButtonContainer = $('
'); + var hintButton = $(''); hintButton.text($('#msg-show-first-hint').text()); hintButton.click( function() { @@ -10,7 +11,8 @@ else $(this).text($('#msg-no-more-hints').text()); }); - return hintButton; + hintButtonContainer.append(hintButton); + return hintButtonContainer; }, load: function load(id) {