Skip to content

Commit

Permalink
Update with fix by @kmatt from panicsteve#59.
Browse files Browse the repository at this point in the history
  • Loading branch information
vaguerant committed Mar 16, 2018
1 parent 3cab134 commit 452bbd2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Source/content_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ function walk(node)
// http://is.gd/mwZp7E

var child, next;
if (node.tagName.toLowerCase() == 'input' || node.tagName.toLowerCase() == 'textarea'
|| node.classList.indexOf('ace_editor') > -1) {
return;

if (node.nodeName.toLowerCase() == 'input' || node.nodeName.toLowerCase() == 'textarea'
|| (node.classList && node.classList.contains('ace_editor'))) {
return;
}

switch ( node.nodeType )
Expand Down
4 changes: 2 additions & 2 deletions Source/manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"manifest_version": 2,
"name": "Metameater",
"version": "1.0.2",
"version": "1.0.3",
"description": "Replaces the prefix 'meta' with 'meat'.",
"developer": { "name": "Vague Rant" },
"author": { "name": "Vague Rant" },
"icons": { "48": "icon48.png",
"128": "icon128.png" },
"content_scripts":
Expand Down

0 comments on commit 452bbd2

Please sign in to comment.