This is due to the fact that the text is selected - the behavior of its own browser.
You can observe this problem in Chrome as well, using the SHIFT key instead of CTRL .
To overcome this, you can simply clear the selection as soon as the user clicks a cell to select:
$(".subject").live('click',function(event) { if(event.ctrlKey) { $(this).toggleClass('selected'); } else { $(".subject").removeClass("selected"); $(this).addClass("selected"); } if (document.selection) document.selection.empty(); else if (window.getSelection) window.getSelection().removeAllRanges(); });
Updated violin .
source share