Removed pesky alert I accidentally left in again
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1134 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -6597,18 +6597,11 @@ function BatchCommand(text) {
|
||||
|
||||
this.clear();
|
||||
|
||||
var done = false;
|
||||
|
||||
function getElem(id) {
|
||||
|
||||
if(svgroot.querySelector) {
|
||||
// querySelector lookup
|
||||
return svgroot.querySelector('#'+id);
|
||||
} else if(svgdoc.evaluate) {
|
||||
if(!done) {
|
||||
alert('e')
|
||||
done = true;
|
||||
}
|
||||
// xpath lookup
|
||||
return svgdoc.evaluate('svg:svg[@id="svgroot"]//svg:*[@id="'+id+'"]', container, function() { return "http://www.w3.org/2000/svg"; }, 9, null).singleNodeValue;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user