Dotclear


Ignore:
Timestamp:
09/18/18 20:22:10 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Use let and const rather than var (ES2015/ES6), use template string where is more efficient

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcLegacyEditor/js/jsToolBar/popup_posts.js

    r3735 r3880  
    99     $('#form-entries tr>td.maximal>a').click(function() { 
    1010          // Get post_id 
    11           var tb = window.opener.the_toolbar; 
    12           var data = tb.elements.link.data; 
     11          const tb = window.opener.the_toolbar; 
     12          const data = tb.elements.link.data; 
    1313 
    1414          data.href = tb.stripBaseURL($(this).attr('title')); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map