diff options
author | Abyss777 <abyss@fox5.ru> | 2016-11-15 11:58:37 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-11-15 11:58:37 +0500 |
commit | 4f520750a2438e1d5229ef539024b4f3b57d9e32 (patch) | |
tree | 6e2d07bd1bd91724029c9c9f24edc70ec3cd2021 /web/app/DeviceImages.js | |
parent | f5217473530909ff633952ae84b0e7a58fc453e2 (diff) | |
download | trackermap-web-4f520750a2438e1d5229ef539024b4f3b57d9e32.tar.gz trackermap-web-4f520750a2438e1d5229ef539024b4f3b57d9e32.tar.bz2 trackermap-web-4f520750a2438e1d5229ef539024b4f3b57d9e32.zip |
Rename variable
Diffstat (limited to 'web/app/DeviceImages.js')
-rw-r--r-- | web/app/DeviceImages.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/app/DeviceImages.js b/web/app/DeviceImages.js index 502d412e..a05a8153 100644 --- a/web/app/DeviceImages.js +++ b/web/app/DeviceImages.js @@ -70,10 +70,10 @@ Ext.define('Traccar.DeviceImages', { encodeURIComponent(new XMLSerializer().serializeToString(svg.documentElement)); }, - cloneDocument: function (document) { + cloneDocument: function (svgDocument) { var newDocument, newNode; - newDocument = document.implementation.createDocument(document.namespaceURI, null, null); - newNode = newDocument.importNode(document.documentElement, true); + newDocument = svgDocument.implementation.createDocument(svgDocument.namespaceURI, null, null); + newNode = newDocument.importNode(svgDocument.documentElement, true); newDocument.appendChild(newNode); return newDocument; }, |