Fixed bug where textedit mode was being disabled in other browsers
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1723 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
dea7b5c896
commit
4d817ef39c
|
@ -11141,6 +11141,7 @@ function disableAdvancedTextEdit() {
|
|||
|
||||
var text = document.createElementNS(svgns,'text');
|
||||
text.textContent = 'a';
|
||||
svgcontent.appendChild(text);
|
||||
|
||||
// text character positioning
|
||||
try {
|
||||
|
@ -11148,9 +11149,9 @@ function disableAdvancedTextEdit() {
|
|||
support.textCharPos = true;
|
||||
} catch(err) {
|
||||
support.textCharPos = false;
|
||||
|
||||
disableAdvancedTextEdit();
|
||||
}
|
||||
svgcontent.removeChild(text);
|
||||
|
||||
// TODO: Find better way to check support for this
|
||||
support.editableText = isOpera;
|
||||
|
|
Loading…
Reference in New Issue