Dotclear

Changeset 3881:7817be8a94ca


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

The JS minifier dot not like \ breaking line, need to investigate further

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/common.js

    r3880 r3881  
    525525    if (!opt.remove && opt.value !== null) { 
    526526      // Compose badge classes 
    527       const cls = `badge badge-${opt.id} \ 
    528 ${opt.inline ? 'badge-inline' : 'badge-block'}\ 
    529 ${opt.icon ? ' badge-icon' : ''}\ 
    530 ${opt.type !== '' ? ` badge-${opt.type}` : ''}\ 
    531 ${opt.left ? ' badge-left' : ''}\ 
    532 ${opt.noborder ? ' badge-noborder' : ''}\ 
    533 ${opt.small ? ' badge-small' : ''}\ 
    534 ${opt.classes !== '' ? ` ${opt.classes}` : ''}`; 
     527      const cls = `badge badge-${opt.id} ${opt.inline ? 'badge-inline' : 'badge-block'}${opt.icon ? ' badge-icon' : ''}${opt.type !== '' ? ` badge-${opt.type}` : ''}${opt.left ? ' badge-left' : ''}${opt.noborder ? ' badge-noborder' : ''}${opt.small ? ' badge-small' : ''}${opt.classes !== '' ? ` ${opt.classes}` : ''}`; 
    535528      // Compose badge 
    536529      const xml = `<span class="${cls}" aria-hidden="true">${opt.value}</span>`; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map