Explorar o código

Listing 5.20: stripping tags with text().

Frederic G. MARAND %!s(int64=8) %!d(string=hai) anos
pai
achega
337fec6593
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Chapter 5/05.js

+ 1 - 0
Chapter 5/05.js

@@ -51,6 +51,7 @@ $(document).ready(function () {
       .find('span.drop')
       .html('…')
       .end()
+      .text($clonedCopy.text())
       .prependTo($parentParagraph);
   });
 });