There was an error while loading. Please reload this page.
2 parents c9e377d + 25e24a4 commit fada35fCopy full SHA for fada35f
lib/inject-client.js
@@ -15,7 +15,7 @@ Injected = {
15
parseMetas: function() {
16
var metaEls = document.getElementsByTagName('meta');
17
for (var i=0; i < metaEls.length; i++)
18
-this.metas[ metaEls[i].getAttribute('name') ]
+this.metas[ metaEls[i].getAttribute('id') ]
19
= metaEls[i].getAttribute('content');
20
},
21
metas: {}
@@ -27,4 +27,4 @@ Injected.parseMetas();
27
Inject = {
28
getObj: Injected.obj,
29
getMeta: Injected.meta
30
-}
+}
0 commit comments