Dotclear

Changeset 3484:0722d6bad67e


Ignore:
Timestamp:
12/29/16 11:45:11 (9 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
2.11
Message:

Avoid outgoing link on images in media manager (opened with magnific-popup rather than another browser window/tab)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/common.js

    r3463 r3484  
    518518     // manage outgoing links 
    519519     $('a').filter(function() { 
    520           return ((this.hostname && this.hostname!=location.hostname && !$(this).hasClass('modal')) 
     520          return ((this.hostname && this.hostname!=location.hostname 
     521                    && !$(this).hasClass('modal') && !$(this).hasClass('modal-image')) 
    521522               || $(this).hasClass('outgoing')); 
    522523     }).each(function() { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map