Skip to content

Commit

Permalink
Disable adhere for now
Browse files Browse the repository at this point in the history
  • Loading branch information
kamens committed Apr 3, 2012
1 parent 6585ab5 commit ab3ca3c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions khan-exercise.js
Expand Up @@ -1656,9 +1656,6 @@ var Khan = (function() {

jQuery( "#hint" ).val( "I'd like a hint" );

// Update dimensions for sticky box
jQuery( "#answer_area" ).adhere();

jQuery(Khan).trigger( "newProblem" );

return answerType;
Expand Down Expand Up @@ -1719,12 +1716,6 @@ var Khan = (function() {
jQuery( "#issue-throbber" )
.attr( "src", urlBase + "css/images/throbber.gif" );

jQuery( "#answer_area" ).adhere( {
container: jQuery( "#answer_area_wrap" ).parent(),
topMargin: 10,
bottomMargin: 10
} );

// Change form target to the current page so errors do not kick us
// to the dashboard
jQuery( "#answerform" ).attr( "action", window.location.href );
Expand Down Expand Up @@ -1907,9 +1898,6 @@ var Khan = (function() {

var hint = hints.shift();

// Update dimensions for sticky box
jQuery( "#answer_area" ).adhere();

if ( hint ) {
jQuery( Khan ).trigger("hintUsed");

Expand Down

0 comments on commit ab3ca3c

Please sign in to comment.