Skip to content

Commit 452bbd2

Browse files
committed
Update with fix by @kmatt from panicsteve#59.
1 parent 3cab134 commit 452bbd2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Source/content_script.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ function walk(node)
66
// http://is.gd/mwZp7E
77

88
var child, next;
9-
10-
if (node.tagName.toLowerCase() == 'input' || node.tagName.toLowerCase() == 'textarea'
11-
|| node.classList.indexOf('ace_editor') > -1) {
12-
return;
9+
10+
if (node.nodeName.toLowerCase() == 'input' || node.nodeName.toLowerCase() == 'textarea'
11+
|| (node.classList && node.classList.contains('ace_editor'))) {
12+
return;
1313
}
1414

1515
switch ( node.nodeType )

Source/manifest.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"manifest_version": 2,
33
"name": "Metameater",
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55
"description": "Replaces the prefix 'meta' with 'meat'.",
6-
"developer": { "name": "Vague Rant" },
6+
"author": { "name": "Vague Rant" },
77
"icons": { "48": "icon48.png",
88
"128": "icon128.png" },
99
"content_scripts":

0 commit comments

Comments
 (0)