]> git.sesse.net Git - remoteglot/blobdiff - www/js/chessboard-0.3.0.js
Various fixes for running with advanced JS optimizations, if we want to do that in...
[remoteglot] / www / js / chessboard-0.3.0.js
index 2ad6f44c5b9215bc88b4a92b59d9e5b9604262ef..e15ab00ff5d57b2d3ed61c6c683967e7f3b564b2 100644 (file)
@@ -768,7 +768,7 @@ function animateSparePieceToSquare(piece, dest, completeFn) {
     duration: cfg.moveSpeed,
     complete: complete
   };
-  $(animatedPieceEl).animate(destOffset, opts);
+  //$(animatedPieceEl).animate(destOffset, opts);
 }
 
 function fadeIn(piece, onFinish) {
@@ -1141,7 +1141,7 @@ function trashDraggedPiece() {
 
   // hide the dragged piece
   // FIXME: support this for non-jquery
-  $(draggedPieceEl).fadeOut(cfg.trashSpeed);
+  //$(draggedPieceEl).fadeOut(cfg.trashSpeed);
 
   // set state
   DRAGGING_A_PIECE = false;