Prevent selection bug when clicking layers while accidentally holding down shift

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@769 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2009-10-05 21:50:59 +00:00
parent 671d263224
commit eaba474023
1 changed files with 1 additions and 0 deletions

View File

@ -1219,6 +1219,7 @@ function svg_edit_setup() {
var row = $(this.parentNode);
row.addClass("layersel");
svgCanvas.setCurrentLayer(this.textContent);
evt.preventDefault();
});
$('#layerlist td.layervis').click(function(evt){
var row = $(this.parentNode).prevAll().length;