mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
This commit is contained in:
parent
73b16c177e
commit
2a833fbc73
@ -733,27 +733,42 @@ function arrow_by_pieces(target, id_arrow, id_node_to, id_node_from, wait) {
|
||||
.append("g")
|
||||
.attr("class", "arrow_container");
|
||||
|
||||
arrow_layout.append("g")
|
||||
.attr("class", "body")
|
||||
.append("use")
|
||||
.attr("xlink:href", "images/maps/body_arrow.svg#body_arrow")
|
||||
.on("load", function() {
|
||||
wait_load(function() {
|
||||
arrow_by_pieces(
|
||||
target, id_arrow, id_node_to, id_node_from, 0);
|
||||
});
|
||||
});
|
||||
if (is_buggy_firefox) {
|
||||
arrow_layout.append("g")
|
||||
.attr("class", "body")
|
||||
.append("use")
|
||||
.attr("xlink:href", "#body_arrow");
|
||||
|
||||
arrow_layout.append("g")
|
||||
.attr("class", "head")
|
||||
.append("use")
|
||||
.attr("xlink:href", "images/maps/head_arrow.svg#head_arrow")
|
||||
.on("load", function() {
|
||||
wait_load(function() {
|
||||
arrow_by_pieces(
|
||||
target, id_arrow, id_node_to, id_node_from, 0);
|
||||
arrow_layout.append("g")
|
||||
.attr("class", "head")
|
||||
.append("use")
|
||||
.attr("xlink:href", "#head_arrow");
|
||||
|
||||
arrow_by_pieces(target, id_arrow, id_node_to, id_node_from, 0);
|
||||
}
|
||||
else {
|
||||
arrow_layout.append("g")
|
||||
.attr("class", "body")
|
||||
.append("use")
|
||||
.attr("xlink:href", "images/maps/body_arrow.svg#body_arrow")
|
||||
.on("load", function() {
|
||||
wait_load(function() {
|
||||
arrow_by_pieces(
|
||||
target, id_arrow, id_node_to, id_node_from, 0);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
arrow_layout.append("g")
|
||||
.attr("class", "head")
|
||||
.append("use")
|
||||
.attr("xlink:href", "images/maps/head_arrow.svg#head_arrow")
|
||||
.on("load", function() {
|
||||
wait_load(function() {
|
||||
arrow_by_pieces(
|
||||
target, id_arrow, id_node_to, id_node_from, 0);
|
||||
});
|
||||
});
|
||||
}
|
||||
break;
|
||||
/*---------------------------------------------*/
|
||||
/*---- Print head and body arrow by steps -----*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user