diff --git a/node-edit-protection.js b/node-edit-protection.js
index e518a73..cdb9d1d 100644
--- a/node-edit-protection.js
+++ b/node-edit-protection.js
@@ -6,14 +6,14 @@ Drupal.node_edit_protection.confirmNavigate = function() {
 Drupal.behaviors.nodeEditProtection = function(context) {
     
   // If they leave an input field, assume they changed it.
-  $(".node-form :input").each(function() {
+  $("#node-form :input").each(function() {
     $(this).blur(function() {
       $(window).attr('node_edit_protection_edited', true);
     });
   });
 
   // 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);
