equal
deleted
inserted
replaced
29 }); |
29 }); |
30 |
30 |
31 }); |
31 }); |
32 |
32 |
33 $('.popup').on('click', '.popup-content a', function(e){ |
33 $('.popup').on('click', '.popup-content a', function(e){ |
34 e.preventDefault(); |
34 |
|
35 if($(this).hasClass('no-prevent')){ |
|
36 return true; |
|
37 }else{ |
|
38 e.preventDefault(); |
|
39 } |
35 if($(this).hasClass('btn-cancel')){ |
40 if($(this).hasClass('btn-cancel')){ |
36 $(this).parents('.popup').modal('hide'); |
41 $(this).parents('.popup').modal('hide'); |
37 } |
42 } |
38 if($(this).hasClass('btn-previsualisation')){ |
43 if($(this).hasClass('btn-previsualisation')){ |
39 var imgPrev = $('<img src="img/520x520.gif" alt="" />'); |
44 var imgPrev = $('<img src="img/520x520.gif" alt="" />'); |