aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-01-12 18:06:54 +1300
committerGitHub <noreply@github.com>2017-01-12 18:06:54 +1300
commitede04a679525bb95fcc5ca0a327e8e915f58564e (patch)
tree4b92f542a168204b96250231207ddea2e2bf2095
parent68534d93f8414246f43c5cc4bbd892692b3d5f55 (diff)
parentf867b7392a3fb401b3ede825f4ca9e5d08b957bd (diff)
downloadtrackermap-web-ede04a679525bb95fcc5ca0a327e8e915f58564e.tar.gz
trackermap-web-ede04a679525bb95fcc5ca0a327e8e915f58564e.tar.bz2
trackermap-web-ede04a679525bb95fcc5ca0a327e8e915f58564e.zip
Merge pull request #383 from Abyss777/fix_sliding
Fix interface sliding on mobile
-rw-r--r--web/load.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/load.js b/web/load.js
index ecf6f232..0f5a6703 100644
--- a/web/load.js
+++ b/web/load.js
@@ -21,7 +21,7 @@
svg.setAttribute('id', id);
svg.setAttribute('data', file);
svg.setAttribute('type', 'image/svg+xml');
- svg.setAttribute('style', 'visibility:hidden');
+ svg.setAttribute('style', 'visibility:hidden;position:absolute;left:-100px;');
document.body.appendChild(svg);
}