diff --git a/node-edit-protection.js b/node-edit-protection.js
index e518a73..f571c19 100644
--- a/node-edit-protection.js
+++ b/node-edit-protection.js
@@ -13,7 +13,7 @@ Drupal.behaviors.nodeEditProtection = function(context) {
   });
 
   // Let all form submit buttons through
-  $(".node-form input[@type='submit']").each(function() {
+  $(".node-form input[type='submit']").each(function() {
     $(this).addClass('node-edit-protection-processed');
     $(this).click(function() {
       $(window).attr('node_edit_protection_clicked', true);
@@ -21,7 +21,7 @@ Drupal.behaviors.nodeEditProtection = function(context) {
   });
 
   // Catch all links and buttons
-  $("a, button, input[@type='submit']:not(.node-edit-protection-processed)").each(function() {
+  $("a, button, input[type='submit']:not(.node-edit-protection-processed)").each(function() {
     $(this).click(function() {
       var edited = $(window).attr('node_edit_protection_edited');
       if(edited) {
