Quellcode durchsuchen

Listing 5.19: sub-query with find()..end().

Frederic G. MARAND vor 8 Jahren
Ursprung
Commit
c8b561a45a
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      Chapter 5/05.js

+ 3 - 0
Chapter 5/05.js

@@ -48,6 +48,9 @@ $(document).ready(function () {
     var $clonedCopy = $(this).clone();
     $clonedCopy
       .addClass('pulled')
+      .find('span.drop')
+      .html('…')
+      .end()
       .prependTo($parentParagraph);
   });
 });