Typo in previous checkin preventing bold from working

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@273 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2009-07-06 16:21:12 +00:00
parent 312d2766c5
commit 8537e0c35c
2 changed files with 2 additions and 1 deletions

View File

@@ -368,6 +368,7 @@ function svg_edit_setup() {
}
var clickBold = function(){
alert('wah?')
svgCanvas.setBold( !svgCanvas.getBold() );
updateContextPanel();
};

View File

@@ -1377,7 +1377,7 @@ function SvgCanvas(c)
if (selected != null && selected.tagName == "text" &&
selectedElements[1] == null)
{
this.changeSelectedAttribute("fill-weight", b ? "bold" : "normal");
this.changeSelectedAttribute("font-weight", b ? "bold" : "normal");
}
};