aboutsummaryrefslogtreecommitdiffstats
path: root/src/container.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-29 15:39:40 +0100
committerwout <wout@impinc.co.uk>2012-12-29 15:39:40 +0100
commit95c7db4d86c429ce4ade55b2f4fec96126640d11 (patch)
tree27735bb6dde7d33aedff157da78e95b462c80594 /src/container.js
parent5fc94f8c98602d8c5081e9f3c67cb409ff75eb56 (diff)
downloadsvg.js-95c7db4d86c429ce4ade55b2f4fec96126640d11.tar.gz
svg.js-95c7db4d86c429ce4ade55b2f4fec96126640d11.zip
Improved container
Diffstat (limited to 'src/container.js')
-rw-r--r--src/container.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/container.js b/src/container.js
index 36988ea..f436d4d 100644
--- a/src/container.js
+++ b/src/container.js
@@ -104,7 +104,7 @@ SVG.Container = {
r = function() {
if (document.readyState === 'complete') {
- e.attr('style', 'position:absolute;left:0;top:0;');
+ e.attr('style', 'position:absolute;');
setTimeout(function() { e.attr('style', 'position:relative;'); }, 5);
} else {
setTimeout(r, 10);