mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
6 lines
283 B
JavaScript
6 lines
283 B
JavaScript
|
function color() {
|
||
|
var svg = document.querySelector(".logo").getSVGDocument();
|
||
|
svg.getElementById("dark-1").setAttribute("stop-color", document.getElementById("color1").value);
|
||
|
svg.getElementById("dark-2").setAttribute("stop-color", document.getElementById("color2").value);
|
||
|
}
|