X-Git-Url: https://git.josue.xyz/?p=VSoRC%2F.git;a=blobdiff_plain;f=js%2Ftopology%2Ftopology.js;h=0f6e1f1ba426019396ffcf5359281ef406f0cd9a;hp=14bfb2e5fb985fb2730c8b25ffef5a2d51989426;hb=af450fde25a9ccf4767b29254c463ffb8ef25237;hpb=9f69ac8864405b5dfb52f9722f20180402e19ddc diff --git a/js/topology/topology.js b/js/topology/topology.js index 14bfb2e..0f6e1f1 100644 --- a/js/topology/topology.js +++ b/js/topology/topology.js @@ -139,7 +139,7 @@ $(function () { node.append("image") .attr("xlink:href", function (d) { if (d.type === "switch") { - return "img/switch.svg" + return "img/switch.png" } else if (d.type === "cloud") { return "img/cloud.svg" } else { @@ -276,7 +276,7 @@ $(function () { function getTopology() { tabObj.buildTabs("#main", ["Graph", "Tables"], "Nothing to show!"); - var $svg = $(''); + var $svg = $(''); var $data = $('
'); tabObj.buildContent('Graph', $svg); tabObj.buildContent('Tables', $data);