Dotclear

Changeset 3783:e99cc471801a for plugins


Ignore:
Timestamp:
07/25/18 16:52:09 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Cope with not yet any spam comment for animated counter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/antispam/js/dashboard.js

    r3781 r3783  
    2323            nb_label.text(nb); 
    2424          } 
     25        } else { 
     26          // Add full element (link + counter) 
     27          var icon = $('#dashboard-main #icons p a[href="comments.php"]'); 
     28          if (icon.length) { 
     29            var xml = ' <br /><a href="comments.php?status=-2"><span class="db-icon-title-spam">' + nb + '</span></a>'; 
     30            icon.after(xml); 
     31          } 
    2532        } 
    2633        // Store current counter 
Note: See TracChangeset for help on using the changeset viewer.

Sites map