Plugin Directory

Changeset 1693403


Ignore:
Timestamp:
07/09/2017 09:26:56 PM (9 years ago)
Author:
tomiskym
Message:

Fixed: .html() instead of text() in .js

Location:
checklist-in-post/trunk
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • checklist-in-post/trunk/checklist_in_post/checklist_in_post_frontend.js

    r1692064 r1693403  
    44  $id = 1;
    55  $('.checklist_in_post ul li').each(function() {
    6     $text = $(this).text() ;
    7     $(this).text(' ');
     6    $text = $(this).html() ;
     7    $(this).html(' ');
    88    $(this).prepend("<span class='todo-wrap'><input type=checkbox id='"+ $id +"' /><label for='"+ $id +"' class='todo'><i class='fa fa-check'></i>"+ $text +"</label></span>");
    99        $id = $id+1;
Note: See TracChangeset for help on using the changeset viewer.