Small fix for my small fix :)

master
Dmitry Baranovskiy 2013-10-16 18:25:12 +11:00
parent ec07510f81
commit 036c208a84
1 changed files with 3 additions and 5 deletions

View File

@ -19,12 +19,10 @@
<script src="../../dist/snap.svg-min.js"></script> <script src="../../dist/snap.svg-min.js"></script>
<script> <script>
var logo = Snap.select("#snap-logo").attr({
display: "none"
});
window.onload = function () { window.onload = function () {
var elements = [ var logo = Snap.select("#snap-logo"),
elements = [
["top", [0, 20]], ["top", [0, 20]],
["left", [20, 0]], ["left", [20, 0]],
["bottom", [0, -20]], ["bottom", [0, -20]],
@ -66,7 +64,7 @@
<body> <body>
<svg version="1.1" id="snap-logo" xmlns="http://www.w3.org/2000/svg" <svg version="1.1" id="snap-logo" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink"
width="250px" height="250px"> width="250px" height="250px" style="display:none">
<defs> <defs>
<linearGradient id="bottom_1_" gradientUnits="userSpaceOnUse" <linearGradient id="bottom_1_" gradientUnits="userSpaceOnUse"
x1="196" y1="485.6281" x2="196" y2="732.5812" x1="196" y1="485.6281" x2="196" y2="732.5812"