--- a\replace\teaser.js
+++ b\replace\teaser.new.js
@@ -28,7 +28,7 @@
       // Empty, hide and disable teaser.
       teaser[0].value = '';
       $(teaser).attr('disabled', 'disabled');
-      $(teaser).parent().slideUp('fast');
+      $(teaser).closest('div').slideUp('fast');
       // Change label.
       $(this).val(Drupal.t('Split summary at cursor'));
       // Hide separate teaser checkbox.
@@ -51,8 +51,8 @@
       teaser[0].value = trim(text.slice(0, split));
       body[0].value = trim(text.slice(split));
       // Reveal and enable teaser
-      $(teaser).attr('disabled', '');
-      $(teaser).parent().slideDown('fast');
+      $(teaser).removeAttr('disabled');
+      $(teaser).closest('div').slideDown('fast');
       // Change label
       $(this).val(Drupal.t('Join summary'));
       // Show separate teaser checkbox, restore checked value.
@@ -69,7 +69,7 @@
     if (text.length == 2) {
       teaser[0].value = trim(text[0]);
       body[0].value = trim(text[1]);
-      $(teaser).attr('disabled', '');
+      $(teaser).removeAttr('disabled');
       $('input', button).val(Drupal.t('Join summary')).toggle(join_teaser, split_teaser);
     }
     else {
@@ -83,7 +83,7 @@
     }
     // Set initial visibility
     if (teaser[0].disabled) {
-      teaser.parent().hide();
+      teaser.closest('div').hide();
     }
 
   });
