Changeset 739f38


Ignore:
Timestamp:
Oct 19, 2007, 7:20:10 PM (12 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
4646dd
Parents:
1c3174
Message:

replaced ugly regexp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_getHeader.js

    r1c3174 r739f38  
    251251            if (vI_prepareHeader.addedHeaders.length > 0) {
    252252                extraHdrs += vI_prepareHeader.addedHeaders.join(" ");
    253                 extraHdrs = extraHdrs.replace(/^ */, "").replace(/ *$/, "");
     253                extraHdrs = extraHdrs.replace(/^\s+|\s+$/g,"")
    254254                vI_prepareHeader.prefroot.setCharPref("mailnews.headers.extraExpandedHeaders", extraHdrs)
    255255            }
Note: See TracChangeset for help on using the changeset viewer.