Skip to content

Commit

Permalink
removed two more uses of .singularity
Browse files Browse the repository at this point in the history
  • Loading branch information
dethe committed Apr 18, 2015
1 parent d30a985 commit 8d6d031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ function endDragBlock(evt){
}else if (dropTarget === BLOCK_MENU){
// Drop on script menu to delete block, always delete clone
if (dragStart === 'script'){ //only want to undo if it was deleted from the script
originalBlock.classList.remove('singularity'); //un-hide block
originalBlock.classList.remove('hide'); //un-hide block
var deleteEvent = {type:'delete-block', deletedBlock:originalBlock, deletedFrom:originalParent, nextBlock:nextElem};
Event.addNewEvent(deleteEvent); //add new event to undo
}
Expand Down Expand Up @@ -1006,7 +1006,7 @@ function resetDragging(){
dragTarget.removeAttribute('style');
}
if (origTarget){
origTarget.classList.remove('singularity');
origTarget.classList.remove('hide');
}
dragTarget = null;
origTarget = null;
Expand Down

0 comments on commit 8d6d031

Please sign in to comment.