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
  • admin/js/_preferences-dragdrop.js

    r3706 r3880  
    1313  }); 
    1414  $('#favs-form').submit(function() { 
    15     var order = []; 
     15    let order = []; 
    1616    $('#my-favs ul li input.position').each(function() { 
    1717      order.push(this.name.replace(/^order\[([^\]]+)\]$/, '$1')); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map